From f423bca5d8be3290c76ba8ce2293c305349ba29d Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Wed, 17 Sep 2008 11:07:44 +0200
Subject: Adding scripts directory to to include custom helper scripts.
---
functions/common.sh | 2 ++
helpers/lh_config | 2 ++
2 files changed, 4 insertions(+)
diff --git a/functions/common.sh b/functions/common.sh
index 38b243e..1b6781c 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 85cd563..0e6f6cb 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
--
cgit v1.0