summaryrefslogtreecommitdiff
path: root/helpers/clean
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-04-18 14:43:23 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:06 +0100
commit8b3eed6b3f96abe66d1c91273edd5921f11d3501 (patch)
tree3daf6ccc7e427ae0e790d974479013fbed66a79d /helpers/clean
parentd1612f05af3e2ddeaaecf1271d30e8cd7a28d348 (diff)
downloadlive-build-8b3eed6b3f96abe66d1c91273edd5921f11d3501.zip
live-build-8b3eed6b3f96abe66d1c91273edd5921f11d3501.tar.gz
Making sure live-helper.sh is sourced early enough wrt/ auto scripts.
Diffstat (limited to 'helpers/clean')
-rwxr-xr-xhelpers/clean6
1 files changed, 3 insertions, 3 deletions
diff --git a/helpers/clean b/helpers/clean
index 77fa1ab..6cafc6d 100755
--- a/helpers/clean
+++ b/helpers/clean
@@ -9,6 +9,9 @@
set -e
+# Including common functions
+. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
+
# Read meta config
if [ "${1}" != "noauto" ] && [ -x auto/clean ]
then
@@ -21,9 +24,6 @@ then
shift
fi
-# Including common functions
-. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
-
# Setting static variables
DESCRIPTION="$(Echo 'clean up system build directories')"
HELP=""