]> git.donarmstrong.com Git - debian-ctte.git/commitdiff
allow - in path of decision
authorDon Armstrong <don@donarmstrong.com>
Sat, 15 Nov 2014 17:13:46 +0000 (09:13 -0800)
committerDon Armstrong <don@donarmstrong.com>
Sat, 15 Nov 2014 17:13:46 +0000 (09:13 -0800)
scripts/publish-decision

index 0a66463e6835d132ae03edf15b62dd3354f5dd2e..455e8f1e8795cc9dd505eed4c48ba1533be432dd 100755 (executable)
@@ -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);