X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=scripts%2Fdebian%2Fbyhand-task;h=1fcccc088b50cfea7e2b64c44408b42f4333ae29;hb=d31ae14a9de247d47d9ff7b3f36705a58a065916;hp=5e227bce7111547e71e5ac3c887405f5922f42f0;hpb=5043021e5e658f8de1c263f7dfbae03df77b6e5a;p=dak.git diff --git a/scripts/debian/byhand-task b/scripts/debian/byhand-task index 5e227bce..1fcccc08 100755 --- a/scripts/debian/byhand-task +++ b/scripts/debian/byhand-task @@ -1,7 +1,8 @@ -#!/bin/sh +#!/bin/bash set -u set -e +set -o pipefail if [ $# -lt 4 ]; then echo "Usage: $0 filename version arch changes_file" @@ -64,8 +65,8 @@ mv "$OUTMAIN" "$TARGET"task chmod 644 "$TARGET"task -(cd $TARGET && $scriptsdir/mk-extra-overrides.sh) dak external-overrides import unstable main Task <"$TARGET"task +dak external-overrides copy unstable testing trap - EXIT