From: Simon Ruderich Date: Sat, 13 Sep 2014 15:03:13 +0000 (+0200) Subject: use set -eu X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=0e1f3846c77e6b0ca5d9215b07f6e587cedd19d9 use set -eu --- diff --git a/debian/bin/backup.sh b/debian/bin/backup.sh index 59e0ec1..4b9bffa 100755 --- a/debian/bin/backup.sh +++ b/debian/bin/backup.sh @@ -19,8 +19,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -set -e +set -eu # tar can't exclude it automatically because we pipe it through gpg. target="`pwd`/`hostname`.tar.gpg" diff --git a/debian/bin/init-reprepro.sh b/debian/bin/init-reprepro.sh index bd30958..4014dc4 100755 --- a/debian/bin/init-reprepro.sh +++ b/debian/bin/init-reprepro.sh @@ -16,8 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -set -e +set -eu sources=/etc/apt/sources.list repo=/root/apt