From: Joerg Jaspert Date: Thu, 20 Jan 2011 22:13:37 +0000 (+0100) Subject: use set statements for options to the shell X-Git-Url: https://git.decadent.org.uk/gitweb/?p=dak.git;a=commitdiff_plain;h=e085af0f4884a5086943156540693dc7f7ce43c9 use set statements for options to the shell Signed-off-by: Joerg Jaspert --- diff --git a/scripts/debian/byhand-di b/scripts/debian/byhand-di index ab01536d..9e1b0512 100755 --- a/scripts/debian/byhand-di +++ b/scripts/debian/byhand-di @@ -1,4 +1,7 @@ -#!/bin/sh -ue +#!/bin/sh + +set -u +set -e if [ $# -lt 4 ]; then echo "Usage: $0 filename version arch changes_file" diff --git a/scripts/debian/byhand-tag b/scripts/debian/byhand-tag index 81a89466..87bb6887 100755 --- a/scripts/debian/byhand-tag +++ b/scripts/debian/byhand-tag @@ -1,4 +1,7 @@ -#!/bin/sh -ue +#!/bin/sh + +set -u +set -e export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars . $SCRIPTVARS diff --git a/scripts/debian/byhand-task b/scripts/debian/byhand-task index 82f09644..015256dc 100755 --- a/scripts/debian/byhand-task +++ b/scripts/debian/byhand-task @@ -1,4 +1,7 @@ -#!/bin/sh -ue +#!/bin/sh + +set -u +set -e if [ $# -lt 4 ]; then echo "Usage: $0 filename version arch changes_file"