OSDN Git Service

* update_version (textstring_FILES): Change gcc/ada/gnatvsn.ads to
[pf3gnuchains/gcc-fork.git] / maintainer-scripts / update_version
index 2b3362e..bb94944 100755 (executable)
@@ -22,7 +22,7 @@ BRANCHES="${BRANCHES} HEAD"
 CURR_DATE=`/bin/date +"%Y%m%d"`
 
 # version is contained within a char*
-textstring_FILES="gcc/gcc/version.c gcc/gcc/f/version.c gcc/libf2c/libF77/Version.c gcc/libf2c/libI77/Version.c gcc/libf2c/libU77/Version.c"
+textstring_FILES="gcc/gcc/version.c gcc/gcc/ada/gnatvsn.ads gcc/gcc/f/version.c gcc/libf2c/libF77/Version.c gcc/libf2c/libI77/Version.c gcc/libf2c/libU77/Version.c"
 
 # version is contained within a #define
 cppdefine_FILES="gcc/libstdc++-v3/include/bits/c++config"
@@ -47,7 +47,7 @@ for BRANCH in $BRANCHES; do
     if test -f $file; then 
       OLD_VERSION=`/bin/cat $file`
       /bin/sed -e "s/\(.*\"[^ ]*\) [0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]/\1 ${CURR_DATE}/" >${file} <<HERE
-        $OLD_VERSION
+$OLD_VERSION
 HERE
 
       COMMIT_FILES="$COMMIT_FILES $file"
@@ -58,7 +58,7 @@ HERE
     if test -f $file; then 
       OLD_VERSION=`/bin/cat $file`
       /bin/sed -e "s/\(#.*\) [0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]/\1 ${CURR_DATE}/" >${file} <<HERE
-        $OLD_VERSION
+$OLD_VERSION
 HERE
 
       COMMIT_FILES="$COMMIT_FILES $file"