summaryrefslogtreecommitdiff
path: root/bin/sanity-check
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-06-24 21:10:41 +0200
committerErich Eckner <git@eckner.net>2020-06-24 21:10:41 +0200
commit23b95978184f0f0bae8dbd47b121afbea84e18d0 (patch)
tree13179110b0f7d34ba222cee990d7722ceff7e019 /bin/sanity-check
parent817e3bc5f856536b9e69c8a52c5b3c8755d66961 (diff)
downloadbuilder-23b95978184f0f0bae8dbd47b121afbea84e18d0.tar.xz
bin/sanity-check: fix `set --` *everywhere*
Diffstat (limited to 'bin/sanity-check')
-rwxr-xr-xbin/sanity-check4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sanity-check b/bin/sanity-check
index 2e42166..927c20f 100755
--- a/bin/sanity-check
+++ b/bin/sanity-check
@@ -173,7 +173,7 @@ while [ $# -gt 0 ]; do
fi
i_am_insane
# if the master mirror cannot be reached, further tests do not make any sense
- set --
+ set -- "$1"
fi
if ! ${master_mirror_sftp_command} </dev/null >/dev/null 2>&1; then
@@ -184,7 +184,7 @@ while [ $# -gt 0 ]; do
fi
i_am_insane
# if the master mirror cannot be reached, further tests do not make any sense
- set --
+ set -- "$1"
fi
[ ${silence} -gt 0 ] || \