]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
dockerbuild: don't die with no args
authorMatthew Newton <matthew-git@newtoncomputing.co.uk>
Wed, 14 Apr 2021 22:01:35 +0000 (23:01 +0100)
committerMatthew Newton <matthew-git@newtoncomputing.co.uk>
Wed, 14 Apr 2021 22:01:35 +0000 (23:01 +0100)
scripts/docker/dockerbuild

index 85704c836bbe520294984b4d2533f97191aac4a9..cade4809890212c78fc0a25fb02767b475a442d2 100755 (executable)
@@ -6,7 +6,7 @@
 #  Example usage: ./dockerbuild build-debian9
 #
 
-set -eu
+set -e
 
 usage ()
 {
@@ -42,6 +42,8 @@ DIR="$1"
 [ -z "$DIR" ] && usage 1
 [ ! -d "$DIR" ] && echo "Directory '$DIR' does not exist" && exit 1
 
+set -u
+
 #
 #  Work out which OS to base our image on from the dir name
 #