diff options
author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-03-02 01:00:38 +0000 |
---|---|---|
committer | Chris Lamb <chris@chris-lamb.co.uk> | 2008-03-02 01:00:38 +0000 |
commit | 931881f27ac6d945347d963957c93ce558d8b170 (patch) | |
tree | ba658cf57ed3a9f0e82d759c2ed5d2059ce82c38 /helpers | |
parent | 7f57e72520a7e43531a23b76e208631404668a5a (diff) | |
download | vyos-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-x | helpers/lh_clean | 2 |
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 |