diff options
author | root <root@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-10-28 12:44:50 +0000 |
---|---|---|
committer | root <root@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-10-28 12:44:50 +0000 |
commit | 6c6e5c46964fb2a2b9d76fd5bf2d60729c3e1799 (patch) | |
tree | e57b45226ccf6a13e1c18bbca3eea6cb296555a3 /maintainer-scripts | |
parent | 97e5c720752477b03d564a0b98145d13d3b3a2da (diff) | |
download | gcc-6c6e5c46964fb2a2b9d76fd5bf2d60729c3e1799.tar.gz |
Fix update_version_svn so it actually is the correct version of this script
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105928 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'maintainer-scripts')
-rwxr-xr-x | maintainer-scripts/update_version_svn | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/maintainer-scripts/update_version_svn b/maintainer-scripts/update_version_svn index 00edc650714..62194548175 100755 --- a/maintainer-scripts/update_version_svn +++ b/maintainer-scripts/update_version_svn @@ -23,10 +23,9 @@ BRANCHES=`$SVN ls $SVNROOT/branches \ | sed -e 's/\///' \ | egrep 'gcc-[0-9]+_[0-9]+-branch$' \ | egrep -v $IGNORE_BRANCHES` - # Always update the mainline. BRANCHES="${BRANCHES} ${ADD_BRANCHES}" -BRANCHES="HEAD" + # ARGS is passed to 'cvs co' CURR_DATE=`/bin/date +"%Y%m%d"` @@ -66,8 +65,6 @@ for BRANCH in $BRANCHES; do dirname=`basename $file` file=`basename $file` file="$dirname/$file" - echo "$file" - exit 0; if test -f $file; then /bin/sed <$file >$file.new -e \ "s/\(.*\"[^ ]*\) [0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]/\1 ${CURR_DATE}/" @@ -80,6 +77,7 @@ for BRANCH in $BRANCHES; do fi fi done + for file in $cppdefine_FILES; do dirname=`basename $file` file=`basename $file` @@ -112,7 +110,7 @@ for BRANCH in $BRANCHES; do fi fi done - echo "$COMMIT_FILES" + if test -n "$COMMIT_FILES"; then for i in $COMMIT_FILES; do echo "Attempting to commit $i" |