From: Mark Andrews Date: Tue, 17 May 2005 00:57:31 +0000 (+0000) Subject: use // for comments X-Git-Tag: v9.2.6b1~78^2~113 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=bdfd62f497fe0d5281c25b61271595a4c821a040;p=thirdparty%2Fbind9.git use // for comments --- diff --git a/util/update_branches b/util/update_branches index 70fb8771c54..2ec10d7d5f1 100644 --- a/util/update_branches +++ b/util/update_branches @@ -14,7 +14,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: update_branches,v 1.10 2005/05/17 00:45:16 marka Exp $ +# $Id: update_branches,v 1.11 2005/05/17 00:57:31 marka Exp $ # # Track which branches are still open or not in the bind9 cvs repository. @@ -50,10 +50,16 @@ while () { next if (/^-/); next if (/^Branch/); $c = ""; - if (m/\(.*\)/) { + if (m://.*:) { $c = $_; - $c =~ s/.*(\(.*\)).*$/$1/; - s/\(.*\)//; + $c =~ s:.*?//(.*)$:$1:; + s:(.*?)//.*:$1:; + } else { + if (m/\(.*\)/) { + $c = $_; + $c =~ s/.*\((.*)\).*$/$1/; + s/\(.*\)//; + } } s/\s$//; next if (/^\s*$/);