summaryrefslogtreecommitdiff
path: root/Config
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-12-23 23:33:02 -0500
committerAdam <Adam@anope.org>2010-12-23 23:33:02 -0500
commita6c8a6a9f2c3f6c0fda6e5bdfeecc3af8c9b5708 (patch)
treeaa6e1f6c8dd535c735bcdcce4fcabb342506cc09 /Config
parent1a3ba00c246803ee06a680060454fb6782e5dd7d (diff)
Prevent version.cpp from prepending version.sh's VERSION_EXTRA on every build
Diffstat (limited to 'Config')
-rwxr-xr-xConfig2
1 files changed, 1 insertions, 1 deletions
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