summaryrefslogtreecommitdiff
path: root/maintainer-scripts/update_version_svn
diff options
context:
space:
mode:
Diffstat (limited to 'maintainer-scripts/update_version_svn')
-rwxr-xr-xmaintainer-scripts/update_version_svn2
1 files changed, 1 insertions, 1 deletions
diff --git a/maintainer-scripts/update_version_svn b/maintainer-scripts/update_version_svn
index 800a70e8946..c707acaba06 100755
--- a/maintainer-scripts/update_version_svn
+++ b/maintainer-scripts/update_version_svn
@@ -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}"