From 14b9aa4836b8a12808121c438b0a4a518f945c3c Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sat, 8 Aug 2009 20:16:33 +0200 Subject: [PATCH] mk-extra-overrides properly add this script to $VCS Signed-off-by: Joerg Jaspert --- scripts/debian/mk-extra-overrides.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 scripts/debian/mk-extra-overrides.sh 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 + -- 2.39.5