summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-03-02 01:00:38 +0000
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:01:30 +0100
commit20da312cd1e5e53d842049ad26476cd8319da01f (patch)
treeba658cf57ed3a9f0e82d759c2ed5d2059ce82c38 /helpers
parent9c9dfb24b8a503e763cd6e740a64762ba7624b6c (diff)
downloadvyos-live-build-20da312cd1e5e53d842049ad26476cd8319da01f.tar.gz
vyos-live-build-20da312cd1e5e53d842049ad26476cd8319da01f.zip
Use ${*} instead of ${@} for checking for no arguments in lh_clean.
${@} expands to "<arg1>" "<arg2>" ... etc., which causes the -z test to encounter too many arguments and thus fail with an error.
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_clean2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_clean b/helpers/lh_clean
index f835800ab..e4e859df8 100755
--- a/helpers/lh_clean
+++ b/helpers/lh_clean
@@ -42,7 +42,7 @@ fi
rm -f .lock
-if [ -z "${@}" ]
+if [ -z "${*}" ]
then
ARGUMENTS="--all"
else