]> err.no Git - dak/commitdiff
add {} as valid characters in tags
authorAnthony Towns <aj@azure.humbug.org.au>
Wed, 5 Dec 2007 07:07:18 +0000 (07:07 +0000)
committerAnthony Towns <aj@azure.humbug.org.au>
Wed, 5 Dec 2007 07:07:18 +0000 (07:07 +0000)
automatically update extra overrides when accepting new tags as autobyhand

scripts/debian/byhand-tag

index 3bb3280879bd4cabe3d8106da2121fe4d7893a30..e9cb43acc6b07c9031d94193612fc5f8c974fb04 100755 (executable)
@@ -4,7 +4,7 @@
 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.debian.org/scripts/external-overrides/
@@ -38,6 +38,8 @@ mv "$OUTNONFREE"        "$TARGET"tag.non-free
 
 chmod 644 "$TARGET"tag "$TARGET"tag.contrib "$TARGET"tag.non-free
 
+(cd $TARGET && ./mk-extra-overrides.sh)
+
 trap - EXIT
 
 exit 0