From 931881f27ac6d945347d963957c93ce558d8b170 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Sun, 2 Mar 2008 01:00:38 +0000 Subject: [PATCH] Use ${*} instead of ${@} for checking for no arguments in lh_clean. ${@} expands to "" "" ... etc., which causes the -z test to encounter too many arguments and thus fail with an error. Signed-off-by: Chris Lamb --- helpers/lh_clean | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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