summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_localincludes
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:04:52 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:18:29 +0100
commit7c68e6ebca01f64501453fa53941ac77b9c2c335 (patch)
treebaad74e1f3cbe6660320b7ad3c4abe967a38b16c /helpers/lh_binary_localincludes
parentbd1a5ddc8203907eb40135303bea5488397ec5d0 (diff)
downloadlive-build-7c68e6ebca01f64501453fa53941ac77b9c2c335.zip
live-build-7c68e6ebca01f64501453fa53941ac77b9c2c335.tar.gz
Adding live-helper 1.0~a9-1.
Diffstat (limited to 'helpers/lh_binary_localincludes')
-rwxr-xr-xhelpers/lh_binary_localincludes6
1 files changed, 6 insertions, 0 deletions
diff --git a/helpers/lh_binary_localincludes b/helpers/lh_binary_localincludes
index 2c1f752..66504c1 100755
--- a/helpers/lh_binary_localincludes
+++ b/helpers/lh_binary_localincludes
@@ -53,6 +53,12 @@ then
find . | cpio -dmpu "${OLDPWD}"/binary
cd "${OLDPWD}"
+ # Removing symlinks
+ if [ "${LIVE_BINARY_IMAGE}" = "usb-hdd" ]
+ then
+ find binary -type l | xargs rm -f
+ fi
+
# Creating stage file
Create_stagefile .stage/binary_localincludes
fi