From 0e1f3846c77e6b0ca5d9215b07f6e587cedd19d9 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 13 Sep 2014 17:03:13 +0200 Subject: [PATCH] use set -eu --- debian/bin/backup.sh | 2 +- debian/bin/init-reprepro.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.44.1