summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-10-20 21:12:22 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:47 +0100
commit26f5aaf0bfa2668eaa15346aa8185839a9d8e70c (patch)
tree70360613afd73616b1cd583d8c658ffcb834ec67 /helpers
parent7036e269ced5fff309655c656f68862e470d8fb8 (diff)
downloadvyos-live-build-26f5aaf0bfa2668eaa15346aa8185839a9d8e70c.tar.gz
vyos-live-build-26f5aaf0bfa2668eaa15346aa8185839a9d8e70c.zip
Avoid showing 'dashed commands are deprecated' warning more than one within lh_clean.
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_clean14
1 files changed, 7 insertions, 7 deletions
diff --git a/helpers/lh_clean b/helpers/lh_clean
index eff7aac76..823b660ee 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