summaryrefslogtreecommitdiff
path: root/scripts/mkswordtar
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mkswordtar')
-rwxr-xr-xscripts/mkswordtar4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/mkswordtar b/scripts/mkswordtar
index f98fe17..e510b50 100755
--- a/scripts/mkswordtar
+++ b/scripts/mkswordtar
@@ -8,7 +8,9 @@ echo
REV=`cd ..;basename \`pwd ..\`|cut -d\- -f2`
SWORDVER=`grep "define VERSI" ../include/config.h |cut -f2 -d"\""`
-if test `echo $REV` == `echo $SWORDVER`; then
+sed -i "s/^\(PROJECT_NUMBER\).*/\1 = \"$SWORDVER\"/" ../doc/Doxyfile
+
+if [ "$REV" = "$SWORDVER" ]; then
chmod +x *
echo