From 26f5aaf0bfa2668eaa15346aa8185839a9d8e70c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 20 Oct 2009 21:12:22 +0200 Subject: Avoid showing 'dashed commands are deprecated' warning more than one within lh_clean. --- helpers/lh_clean | 14 +++++++------- 1 file 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 -- cgit v1.0