summaryrefslogtreecommitdiff
path: root/helpers/lh_clean
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:04:52 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:18:29 +0100
commitbd1a5ddc8203907eb40135303bea5488397ec5d0 (patch)
treee1cdc0adec3e4799f5db5ad1a8b34800e28a9439 /helpers/lh_clean
parent8a4a50fdb6b206fbff62fd3043ed388f25a0ffb1 (diff)
downloadvyos-live-build-bd1a5ddc8203907eb40135303bea5488397ec5d0.tar.gz
vyos-live-build-bd1a5ddc8203907eb40135303bea5488397ec5d0.zip
Adding live-helper 1.0~a8-1.
Diffstat (limited to 'helpers/lh_clean')
-rwxr-xr-xhelpers/lh_clean9
1 files changed, 5 insertions, 4 deletions
diff --git a/helpers/lh_clean b/helpers/lh_clean
index 24a65e3f9..f016e9504 100755
--- a/helpers/lh_clean
+++ b/helpers/lh_clean
@@ -25,10 +25,11 @@ Arguments "${@}"
Echo_debug "Init ${PROGRAM}"
# Reading configuration files
+Read_conffile config/common
Read_conffile config/bootstrap
Read_conffile config/chroot
-Read_conffile config/common
-Read_conffile config/image
+Read_conffile config/binary
+Read_conffile config/source
Set_defaults
case "${1}" in
@@ -60,9 +61,9 @@ case "${1}" in
${LH_ROOT_COMMAND} rm -rf chroot chroot.tmp
- if [ "${PURGE}" != "true" ] && [ -d cache/chroot_bootstrap ]
+ if [ "${PURGE}" != "true" ] && [ -d cache/stages_bootstrap ]
then
- ${LH_ROOT_COMMAND} cp -a cache/chroot_bootstrap chroot
+ ${LH_ROOT_COMMAND} cp -a cache/stages_bootstrap chroot
mkdir -p .stage
touch .stage/bootstrap
fi