From 20da312cd1e5e53d842049ad26476cd8319da01f Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Sun, 2 Mar 2008 01:00:38 +0000 Subject: 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. --- helpers/lh_clean | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/lh_clean b/helpers/lh_clean index f835800..e4e859d 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 -- cgit v1.0