File: get_version

package info (click to toggle)
xxdiff 1%3A3.1-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,936 kB
  • ctags: 2,393
  • sloc: cpp: 19,971; python: 3,334; ansic: 1,505; sh: 1,466; perl: 308; yacc: 273; lex: 219; lisp: 115; makefile: 101
file content (13 lines) | stat: -rwxr-xr-x 224 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
#
# $RCSfile: get_version,v $
#

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