From a6c8a6a9f2c3f6c0fda6e5bdfeecc3af8c9b5708 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 23 Dec 2010 23:33:02 -0500 Subject: Prevent version.cpp from prepending version.sh's VERSION_EXTRA on every build --- Config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Config') diff --git a/Config b/Config index 4ccc82c62..681c5d0d4 100755 --- a/Config +++ b/Config @@ -171,7 +171,7 @@ if [ ! "$NO_INTRO" ] ; then # Only do this if we are not on a tag, src/version.sh will be all we need then. if [ "$VERSION_BUILD" != "$VERSION_EXTRA" ] ; then echo "#define VERSION_BUILD $VERSION_BUILD" > include/version.h - echo "#define VERSION_EXTRA \"$VERSION_EXTRA\"" >> include/version.h + echo "#define VERSION_EXTRA \"-$VERSION_EXTRA\"" >> include/version.h fi fi cat $SOURCE_DIR/.BANNER | sed "s/CURVER/$VERSION/" | sed "s@SOURCE_DIR@$SOURCE_DIR@" | $PAGER -- cgit