diff options
author | Adam <Adam@anope.org> | 2010-12-23 23:33:02 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-12-23 23:33:02 -0500 |
commit | a6c8a6a9f2c3f6c0fda6e5bdfeecc3af8c9b5708 (patch) | |
tree | aa6e1f6c8dd535c735bcdcce4fcabb342506cc09 /Config | |
parent | 1a3ba00c246803ee06a680060454fb6782e5dd7d (diff) |
Prevent version.cpp from prepending version.sh's VERSION_EXTRA on every build
Diffstat (limited to 'Config')
-rwxr-xr-x | Config | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |