File: get_version

package info (click to toggle)
xxdiff 1%3A4.0.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,716 kB
  • ctags: 2,245
  • sloc: cpp: 18,495; python: 6,134; sh: 1,543; ansic: 1,535; perl: 308; lex: 284; yacc: 279; lisp: 250; tcl: 213; makefile: 82
file content (13 lines) | stat: -rwxr-xr-x 208 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
#
# $RCSfile$
#

if [ ! -d "adm" -a ! -f "VERSION" ]; then
     echo "You must be running this script from the topdir directory."
     exit 1;
fi

# this has become exceedingly simple.
cat VERSION