diff options
author | Daniel Baumann <daniel@debian.org> | 2009-10-20 21:12:22 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:09:47 +0100 |
commit | 26f5aaf0bfa2668eaa15346aa8185839a9d8e70c (patch) | |
tree | 70360613afd73616b1cd583d8c658ffcb834ec67 | |
parent | 7036e269ced5fff309655c656f68862e470d8fb8 (diff) | |
download | live-build-26f5aaf0bfa2668eaa15346aa8185839a9d8e70c.zip live-build-26f5aaf0bfa2668eaa15346aa8185839a9d8e70c.tar.gz |
Avoid showing 'dashed commands are deprecated' warning more than one within lh_clean.
-rwxr-xr-x | helpers/lh_clean | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/helpers/lh_clean b/helpers/lh_clean index eff7aac..823b660 100755 --- a/helpers/lh_clean +++ b/helpers/lh_clean @@ -54,10 +54,10 @@ for ARGUMENT in ${ARGUMENTS} do case "${ARGUMENT}" in --all) - "${0}" noautoconfig --chroot - "${0}" noautoconfig --binary - "${0}" noautoconfig --stage - "${0}" noautoconfig --source + LH=1 "${0}" noautoconfig --chroot + LH=1 "${0}" noautoconfig --binary + LH=1 "${0}" noautoconfig --stage + LH=1 "${0}" noautoconfig --source if [ -d scripts ] then @@ -103,13 +103,13 @@ do ;; --remove) - "${0}" --all + LH=1 "${0}" --all rm -rf cache/packages_* ;; --purge) - "${0}" --all - "${0}" --cache + LH=1 "${0}" --all + LH=1 "${0}" --cache if [ -e scripts/config ] then |