]> git.decadent.org.uk Git - dak.git/commitdiff
byhand-tag: allow multiline fields
authorAnsgar Burchardt <ansgar@debian.org>
Sun, 12 Feb 2012 15:15:49 +0000 (15:15 +0000)
committerAnsgar Burchardt <ansgar@debian.org>
Sun, 12 Feb 2012 15:15:49 +0000 (15:15 +0000)
scripts/debian/byhand-tag

index b169757c2a87330e6de2e576d0df9c2624232997..d0674c84fec97ba70490a1d209fc432fa132077e 100755 (executable)
@@ -10,7 +10,7 @@ export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars
 INPUT="${1:?"Usage: $0 filename"}"
 
 # Regular expression used to validate tag lines
-CHECKRE='^[a-z0-9A-Z.+-]+[[:space:]]+Tag[[:space:]]+[a-z0-9:. ,{}+-]+$'
+CHECKRE='^([a-z0-9A-Z.+-]+[[:space:]]+Tag)?[[:space:]]+[a-z0-9:. ,{}+-]+$'
 
 # This must end with /
 TARGET=/srv/ftp-master.debian.org/scripts/external-overrides/