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.
This commit is contained in:
Chris Lamb 2008-03-02 01:00:38 +00:00 committed by Daniel Baumann
parent 9c9dfb24b8
commit 20da312cd1
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