Make the CREATE_VERSION script create the correct file.

The version tag is now stored in the version_tag.h file
and is then copied along with the VERSION into the master
version.h file by the Makefile.
This commit is contained in:
Cary R 2009-01-06 18:38:29 -08:00 committed by Stephen Williams
parent 50f11390b2
commit 2353f91693
1 changed files with 2 additions and 2 deletions

View File

@ -8,6 +8,6 @@
# sh scripts/CREATE_VERSION.sh
#
echo "Building version.h with git describe"
echo "Building version_tag.h with git describe"
tmp=`git describe | sed -e 's;\(.*\);#define VERSION_TAG "\1";'`
echo "$tmp" > version.h
echo "$tmp" > version_tag.h