summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_includes
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:05:09 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 10:05:09 +0200
commitf0712b2f79ae4a23146a088624fe48aed7c02cca (patch)
treed7facbbbf53b1a5bc0fa92f671f5b1e29a7e3200 /helpers/lh_binary_includes
parentafe37cce9356e0284db08134781e3a0da375c35d (diff)
downloadvyos-live-build-f0712b2f79ae4a23146a088624fe48aed7c02cca.tar.gz
vyos-live-build-f0712b2f79ae4a23146a088624fe48aed7c02cca.zip
Adding live-helper 1.0~a10-1.
Diffstat (limited to 'helpers/lh_binary_includes')
-rwxr-xr-xhelpers/lh_binary_includes8
1 files changed, 7 insertions, 1 deletions
diff --git a/helpers/lh_binary_includes b/helpers/lh_binary_includes
index 4a1bc9331..92b6a685a 100755
--- a/helpers/lh_binary_includes
+++ b/helpers/lh_binary_includes
@@ -51,7 +51,7 @@ Check_lockfile .lock
# Creating lock file
Create_lockfile .lock
-# Check includes
+# Check user includes
if [ ! -d "${LIVE_INCLUDES}" ]
then
if [ -d ../"${LIVE_INCLUDES}" ]
@@ -63,6 +63,12 @@ then
fi
fi
+# Checking local includes
+if [ -d config/includes/"${LIVE_DISTRIBUTION}" ]
+then
+ LIVE_INCLUDES="config/includes"
+fi
+
# Assemble architecture
case "${LIVE_ARCHITECTURE}" in
amd64)