diff --git a/scripts/CREATE_VERSION.sh b/scripts/CREATE_VERSION.sh index 77d061a8a..450f21370 100644 --- a/scripts/CREATE_VERSION.sh +++ b/scripts/CREATE_VERSION.sh @@ -10,4 +10,6 @@ echo "Building version_tag.h with git describe" tmp=`git describe | sed -e 's;\(.*\);#define VERSION_TAG "\1";'` -echo "$tmp" > version_tag.h +echo "#ifndef VERSION_TAG" > version_tag.h +echo "$tmp" >> version_tag.h +echo "#endif" >> version_tag.h