update_version_svn: Update DATESTAMP also on branches/gcc-[0-9]+-branch.
authorJakub Jelinek <jakub@redhat.com>
Mon, 13 Apr 2015 09:07:11 +0000 (11:07 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 13 Apr 2015 09:07:11 +0000 (11:07 +0200)
* update_version_svn: Update DATESTAMP also on
branches/gcc-[0-9]+-branch.

From-SVN: r222044

maintainer-scripts/ChangeLog
maintainer-scripts/update_version_svn

index 2f7e2271586b7115e8f00ff66c369005e1448f2f..8449a9dd3fa831907e2e67dabfbb2118ebe9f9cc 100644 (file)
@@ -1,5 +1,8 @@
 2015-04-13  Jakub Jelinek  <jakub@redhat.com>
 
+       * update_version_svn: Update DATESTAMP also on
+       branches/gcc-[0-9]+-branch.
+
        * gcc_release: Fix up thinko in the last commit, improve error
        message.  Commit all ChangeLog, DEV-PHASE and BASE-VER changes
        together, rather than doing dozens of separate commits.
index 800a70e8946d49d103d109d0ee7f83c3a49cea8a..c707acaba06b399f907b56b6df8748bc12192fce 100755 (executable)
@@ -20,7 +20,7 @@ SVN=${SVN:-/usr/bin/svn}
 # Compute the branches which we should update.
 BRANCHES=`$SVN ls $SVNROOT/branches \
          | sed -e 's/\///' \
-          | egrep 'gcc-[0-9]+_[0-9]+-branch$' \
+          | egrep 'gcc-[0-9]+(_[0-9]+)?-branch$' \
           | egrep -v $IGNORE_BRANCHES`
 # Always update the mainline.
 BRANCHES="${BRANCHES} ${ADD_BRANCHES}"