From: Joerg Jaspert Date: Sat, 8 Aug 2009 18:16:33 +0000 (+0200) Subject: mk-extra-overrides X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14b9aa4836b8a12808121c438b0a4a518f945c3c;p=dak mk-extra-overrides properly add this script to $VCS Signed-off-by: Joerg Jaspert --- diff --git a/scripts/debian/mk-extra-overrides.sh b/scripts/debian/mk-extra-overrides.sh new file mode 100755 index 00000000..84eb970d --- /dev/null +++ b/scripts/debian/mk-extra-overrides.sh @@ -0,0 +1,23 @@ +#!/bin/sh + +# regexp to test if a file is okay: +# grep -Ev '^[a-z0-9A-Z.+-]+\ Task [a-z0-9:. ,+-]+$' task* + +x="build-essential tag task" +opath="/org/ftp.debian.org/scripts/override" + +for s in squeeze sid; do + for c in main contrib non-free; do + echo "Making $opath/override.$s.extra.$c" + if [ "$c" = "main" ]; then + c2=""; + else + c2=".$c" + fi + for t in $x; do + if [ -e "$t$c2" ]; then cat $t$c2; fi + if [ -e "$t.$s$c2" ]; then cat $t.$s$c2; fi + done | sort > $opath/override.$s.extra.$c + done +done +