summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_includes
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:04:49 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 10:04:49 +0200
commit8762edaa61a21de7708d6293287e9eb306716578 (patch)
tree589606906e4e8966797f352ec63162cbb4016da0 /helpers/lh_binary_includes
parentd3cf9b4d93906346645fa9640517bf3907c40345 (diff)
downloadvyos-live-build-8762edaa61a21de7708d6293287e9eb306716578.tar.gz
vyos-live-build-8762edaa61a21de7708d6293287e9eb306716578.zip
Adding live-helper 1.0~a4-1.
Diffstat (limited to 'helpers/lh_binary_includes')
-rwxr-xr-xhelpers/lh_binary_includes12
1 files changed, 12 insertions, 0 deletions
diff --git a/helpers/lh_binary_includes b/helpers/lh_binary_includes
index 6fbaeed41..aff6fa172 100755
--- a/helpers/lh_binary_includes
+++ b/helpers/lh_binary_includes
@@ -40,6 +40,18 @@ Create_lockfile .lock
# Checking stage file
Check_stagefile .stage/binary_includes
+# Check includes
+if [ ! -d "${LIVE_INCLUDES}" ]
+then
+ if [ -d ../"${LIVE_INCLUDES}" ]
+ then
+ LIVE_INCLUDES="../${LIVE_INCLUDES}"
+ else
+ Echo_error "user specified includes not accessible in ${LIVE_INCLUDES}"
+ exit 1
+ fi
+fi
+
if ls "${LIVE_INCLUDES}"/common/* &> /dev/null
then
cd "${LIVE_INCLUDES}"/common