summaryrefslogtreecommitdiff
path: root/scripts/build/lb_clean
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-09-26 12:38:38 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:19:23 +0100
commitc5c3f6133a0fb62ba9c2c3b839e6ea5774f9c76a (patch)
tree44a6d3a12cd11067aea2a4d43eb9133cc25bad2f /scripts/build/lb_clean
parent941a47be0ca3061f54a237583092357d1ff80f7c (diff)
downloadvyos-live-build-c5c3f6133a0fb62ba9c2c3b839e6ea5774f9c76a.tar.gz
vyos-live-build-c5c3f6133a0fb62ba9c2c3b839e6ea5774f9c76a.zip
Adding debian version 3.0~a1-1.
Diffstat (limited to 'scripts/build/lb_clean')
-rwxr-xr-xscripts/build/lb_clean18
1 files changed, 9 insertions, 9 deletions
diff --git a/scripts/build/lb_clean b/scripts/build/lb_clean
index d690a3aec..f0e43a54b 100755
--- a/scripts/build/lb_clean
+++ b/scripts/build/lb_clean
@@ -1,7 +1,7 @@
#!/bin/sh
## live-build(7) - System Build Scripts
-## Copyright (C) 2006-2011 Daniel Baumann <daniel@debian.org>
+## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org>
##
## live-build comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
@@ -17,7 +17,7 @@ set -e
if [ "${1}" != "noauto" ] && [ -x auto/clean ]
then
Echo_message "Executing auto/clean script."
- ./auto/clean "${@}"
+ ./auto/clean ${@}
exit ${?}
fi
@@ -57,10 +57,10 @@ for ARGUMENT in ${ARGUMENTS}
do
case "${ARGUMENT}" in
--all)
- LB=1 "${0}" noauto --chroot
- LB=1 "${0}" noauto --binary
- LB=1 "${0}" noauto --stage
- LB=1 "${0}" noauto --source
+ LH=1 "${0}" noauto --chroot
+ LH=1 "${0}" noauto --binary
+ LH=1 "${0}" noauto --stage
+ LH=1 "${0}" noauto --source
rmdir --ignore-fail-on-non-empty auto > /dev/null 2>&1 || true
;;
@@ -104,13 +104,13 @@ do
;;
--remove)
- LB=1 "${0}" --all
+ LH=1 "${0}" --all
rm -rf cache/packages_*
;;
--purge)
- LB=1 "${0}" --all
- LB=1 "${0}" --cache
+ LH=1 "${0}" --all
+ LH=1 "${0}" --cache
if [ -e auto/config ]
then