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>
This commit is contained in:
Chris Lamb 2008-03-02 01:00:38 +00:00
parent 7f57e72520
commit 931881f27a
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ fi
rm -f .lock rm -f .lock
if [ -z "${@}" ] if [ -z "${*}" ]
then then
ARGUMENTS="--all" ARGUMENTS="--all"
else else