[SCM] debian-live/live-helper branch, master, updated. 1.0_a38-1-17-g931881f

Chris Lamb chris at chris-lamb.co.uk
Sun Mar 2 07:13:01 UTC 2008


The following commit has been merged in the master branch:
commit 931881f27ac6d945347d963957c93ce558d8b170
Author: Chris Lamb <chris at chris-lamb.co.uk>
Date:   Sun Mar 2 01:00:38 2008 +0000

    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 at chris-lamb.co.uk>

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

-- 
debian-live/live-helper



More information about the debian-live-changes mailing list