summaryrefslogtreecommitdiff
path: root/helpers/config
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/config
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/config')
-rwxr-xr-xhelpers/config6
1 files changed, 3 insertions, 3 deletions
diff --git a/helpers/config b/helpers/config
index e2eff08..a341af6 100755
--- a/helpers/config
+++ b/helpers/config
@@ -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/config ]
then
@@ -21,9 +24,6 @@ then
shift
fi
-# Including common functions
-. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
-
# Setting static variables
SYSTEM_LH_CONFFILE="/etc/default/live-helper"
DESCRIPTION="$(Echo 'create configuration for live-helper(7)')"