]> git.decadent.org.uk Git - dak.git/commitdiff
use set statements for options to the shell
authorJoerg Jaspert <joerg@debian.org>
Thu, 20 Jan 2011 22:13:37 +0000 (23:13 +0100)
committerJoerg Jaspert <joerg@debian.org>
Thu, 20 Jan 2011 22:13:37 +0000 (23:13 +0100)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
scripts/debian/byhand-di
scripts/debian/byhand-tag
scripts/debian/byhand-task

index ab01536d7adf4f165c2c1fabd7d30b297ec1e9db..9e1b0512d0934201e1dca39dcfb9857b85cdb07f 100755 (executable)
@@ -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"
index 81a8946676a8a3af626813d7e4ac4c8798b98c90..87bb68878aa83f1e79fe89c07a9456dbbe3b15ca 100755 (executable)
@@ -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
index 82f0964482889732c6f506cfff5a0bd3841d259d..015256dc64acc7d1950b3870a6ad59eb9178aef7 100755 (executable)
@@ -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"