diff options
author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-03-02 01:00:38 +0000 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:01:30 +0100 |
commit | 20da312cd1e5e53d842049ad26476cd8319da01f (patch) | |
tree | ba658cf57ed3a9f0e82d759c2ed5d2059ce82c38 /helpers | |
parent | 9c9dfb24b8a503e763cd6e740a64762ba7624b6c (diff) | |
download | live-build-20da312cd1e5e53d842049ad26476cd8319da01f.zip live-build-20da312cd1e5e53d842049ad26476cd8319da01f.tar.gz |
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.
Diffstat (limited to 'helpers')
-rwxr-xr-x | helpers/lh_clean | 2 |
1 files changed, 1 insertions, 1 deletions
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 |