summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-03-02 01:00:38 +0000
committerChris Lamb <chris@chris-lamb.co.uk>2008-03-02 01:00:38 +0000
commit931881f27ac6d945347d963957c93ce558d8b170 (patch)
treeba658cf57ed3a9f0e82d759c2ed5d2059ce82c38 /helpers
parent7f57e72520a7e43531a23b76e208631404668a5a (diff)
downloadvyos-live-build-931881f27ac6d945347d963957c93ce558d8b170.tar.gz
vyos-live-build-931881f27ac6d945347d963957c93ce558d8b170.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. Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
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