[dak/master] use set statements for options to the shell
Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
scripts/debian/byhand-di | 5 ++++-
scripts/debian/byhand-tag | 5 ++++-
scripts/debian/byhand-task | 5 ++++-
3 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/scripts/debian/byhand-di b/scripts/debian/byhand-di
index ab01536..9e1b051 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 81a8946..87bb688 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 82f0964..015256d 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"
--
1.5.6.5
Reply to: