diff options
author | Olivier Biot <obiot.ethereal@gmail.com> | 2004-01-18 01:41:14 +0000 |
---|---|---|
committer | Olivier Biot <obiot.ethereal@gmail.com> | 2004-01-18 01:41:14 +0000 |
commit | 8db6fb47cdc5827cce492a0ca226117d876645f0 (patch) | |
tree | 0d87d92993969b1b1fb61bdd7ca48511898ce15c /make-version.pl | |
parent | be6e7afc4e3f3d622a4878631768c8ce6702813d (diff) | |
download | wireshark-8db6fb47cdc5827cce492a0ca226117d876645f0.tar.gz wireshark-8db6fb47cdc5827cce492a0ca226117d876645f0.tar.bz2 wireshark-8db6fb47cdc5827cce492a0ca226117d876645f0.zip |
Nice rendering of the CVS version as "(cvs 200401181200003000)".
The make-version.pl script only defines CVSVERSION if this was a build
from CVS.
svn path=/trunk/; revision=9701
Diffstat (limited to 'make-version.pl')
-rwxr-xr-x | make-version.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/make-version.pl b/make-version.pl index 590171b9aa..ecaf52aa4a 100755 --- a/make-version.pl +++ b/make-version.pl @@ -2,7 +2,7 @@ # # Copyright 2004 Jörg Mayer (see AUTHORS file) # -# $Id: make-version.pl,v 1.2 2004/01/17 13:09:00 jmayer Exp $ +# $Id: make-version.pl,v 1.3 2004/01/18 01:41:13 obiot Exp $ # # Ethereal - Network traffic analyzer # By Gerald Combs <gerald@ethereal.com> @@ -74,9 +74,9 @@ if ($last eq "" && -f "cvsversion") { $last = `cat cvsversion`; } if ( $last ne "" ) { - $last = "#define CVSVERSION \"cvs$last\"\n"; + $last = "#define CVSVERSION \"$last\"\n"; } else { - $last = "#define CVSVERSION \"\"\n"; + $last = "/* #define CVSVERSION \"\" */\n"; } my $needsupdate=0; |