diff options
-rwxr-xr-x | version.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/version.sh b/version.sh index 7a571fad47..c16e23cf42 100755 --- a/version.sh +++ b/version.sh @@ -1,9 +1,10 @@ #!/bin/sh - last_cvs_update=r`grep committed-rev .svn/entries | head -n 1 | cut -d '"' -f 2 2>/dev/null` +revision=r`grep committed-rev .svn/entries | head -n 1 | cut -d '"' -f 2 2>/dev/null` extra="" if test "$1" ; then extra="-$1" fi -echo "#define VERSION \"dev-SVN-${last_cvs_update}${extra}\"" >version.h + +echo "#define VERSION \"dev-SVN-${revision}${extra}\"" > version.h |