From: Ansgar Burchardt <ansgar@debian.org>
Date: Sun, 12 Feb 2012 15:15:49 +0000 (+0000)
Subject: byhand-tag: allow multiline fields
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=27ea3ed3889d4eb82432d7b53424a0aa7f446017;p=dak.git

byhand-tag: allow multiline fields
---

diff --git a/scripts/debian/byhand-tag b/scripts/debian/byhand-tag
index b169757c..d0674c84 100755
--- a/scripts/debian/byhand-tag
+++ b/scripts/debian/byhand-tag
@@ -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/