Browse Source

use dirname to always generate the svnversion.h from the correct directory

tags/v1.9.11-RC1
Karl Lindén 10 years ago
parent
commit
ac87950243
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      svnversion_regenerate.sh

+ 4
- 1
svnversion_regenerate.sh View File

@@ -17,7 +17,10 @@ TEMP_FILE="${OUTPUT_FILE}.tmp"
#echo "$TEMP_FILE"

OLDPWD=`pwd`
cd ..

# The script should reside in the toplevel source directory which sould contain
# all version control files.
cd `dirname ${0}`

if test $# -eq 2
then


Loading…
Cancel
Save