From: Don Armstrong Date: Sat, 15 Nov 2014 17:13:46 +0000 (-0800) Subject: allow - in path of decision X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=4bf947ec12e74966bef3792cdd0627ad804cf7f0;p=debian-ctte.git allow - in path of decision --- diff --git a/scripts/publish-decision b/scripts/publish-decision index 0a66463..455e8f1 100755 --- a/scripts/publish-decision +++ b/scripts/publish-decision @@ -24,7 +24,7 @@ use POSIX qw(strftime); # - BUGNUMBER_blah_blah/decision.wml ready to paste into webmml # Inspect them and if appropriate send and commit. -die "bad usage" unless @ARGV==1 && $ARGV[0] =~ m#^((\d+)_\w+)/.*$#; +die "bad usage" unless @ARGV==1 && $ARGV[0] =~ m#^((\d+)_[\w-]+)/.*$#; my ($dir, $bugn, $decision) = ($1,$2,$&); my %decision = process_decision($decision,$bugn);