summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-09-17 11:07:44 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:42 +0100
commitf423bca5d8be3290c76ba8ce2293c305349ba29d (patch)
treebe6687aee53e810a1f8d57777aa268aae2e6b8ac
parent57029d7a666b082d018f635c922b48ee7615a0f3 (diff)
downloadvyos-live-build-f423bca5d8be3290c76ba8ce2293c305349ba29d.tar.gz
vyos-live-build-f423bca5d8be3290c76ba8ce2293c305349ba29d.zip
Adding scripts directory to to include custom helper scripts.
-rwxr-xr-xfunctions/common.sh2
-rwxr-xr-xhelpers/lh_config2
2 files changed, 4 insertions, 0 deletions
diff --git a/functions/common.sh b/functions/common.sh
index 38b243eae..1b6781cba 100755
--- a/functions/common.sh
+++ b/functions/common.sh
@@ -11,3 +11,5 @@ set -e
PROGRAM="$(basename ${0})"
VERSION="1.0.0"
+
+PATH="${PWD}/scripts:${PATH}"
diff --git a/helpers/lh_config b/helpers/lh_config
index 85cd56388..0e6f6cb1c 100755
--- a/helpers/lh_config
+++ b/helpers/lh_config
@@ -1136,6 +1136,8 @@ LH_SOURCE="${LH_SOURCE}"
LH_SOURCE_IMAGES="${LH_SOURCE_IMAGES}"
EOF
+mkdir -p scripts
+
if [ "${CONFIG}" = "clone" ] # FIXME
then
# Read package selection