File: get_version

package info (click to toggle)
xxdiff 1%3A2.5-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,936 kB
  • ctags: 3,420
  • sloc: cpp: 16,125; ansic: 16,104; sh: 1,684; makefile: 295; yacc: 238; lex: 218; python: 216
file content (12 lines) | stat: -rwxr-xr-x 243 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
#
# $Id: get_version,v 1.6 2001/11/22 07:38:08 blais Exp $
#

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

egrep "^XX_VERSION" src/xxdiff.pro | sed -e 's/^.*=//;'