summaryrefslogtreecommitdiff
path: root/scripts/build/clean
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-09-30 20:29:55 +0200
committerDaniel Baumann <daniel@debian.org>2012-09-30 20:29:55 +0200
commitb7396abd13eff98fb78ecea09f1b0c96e5be8146 (patch)
treeb6231bab74c4578d03dfab23fef2111e23a4627f /scripts/build/clean
parent26f2278a23a2285208487ef0fec75111d61afe1d (diff)
downloadvyos-live-build-b7396abd13eff98fb78ecea09f1b0c96e5be8146.tar.gz
vyos-live-build-b7396abd13eff98fb78ecea09f1b0c96e5be8146.zip
Avoiding warnings when checking for arguments in clean.
Diffstat (limited to 'scripts/build/clean')
-rwxr-xr-xscripts/build/clean2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/clean b/scripts/build/clean
index 4104e5256..2d1ad40ed 100755
--- a/scripts/build/clean
+++ b/scripts/build/clean
@@ -46,7 +46,7 @@ fi
rm -f .lock
-if [ -z "${@}" ]
+if [ -z "${1}" ]
then
ARGUMENTS="--all"
else