summaryrefslogtreecommitdiff
path: root/helpers/binary_local-includes
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-02-18 17:12:59 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:04 +0100
commit9d6a4dedc2736389349345c29d3a8a48b7b70692 (patch)
treeb227ffc3d77fcd3ba49dabbda5e2674c43f8bea3 /helpers/binary_local-includes
parent2dc16bc40d06c08030dc86b736d169a9cd65f791 (diff)
downloadlive-build-9d6a4dedc2736389349345c29d3a8a48b7b70692.zip
live-build-9d6a4dedc2736389349345c29d3a8a48b7b70692.tar.gz
Cleaning up usb helpers for a future usb-zip addition.
Diffstat (limited to 'helpers/binary_local-includes')
-rwxr-xr-xhelpers/binary_local-includes9
1 files changed, 5 insertions, 4 deletions
diff --git a/helpers/binary_local-includes b/helpers/binary_local-includes
index 63986ae..44f93c9 100755
--- a/helpers/binary_local-includes
+++ b/helpers/binary_local-includes
@@ -45,10 +45,11 @@ then
cd "${OLDPWD}"
# Removing symlinks
- if [ "${LH_BINARY_IMAGES}" = "usb-hdd" ]
- then
- find binary -type l | xargs rm -f
- fi
+ case "${LH_BINARY_IMAGES}" in
+ usb*)
+ find binary -type l | xargs rm -f
+ ;;
+ esac
# Creating stage file
Create_stagefile .stage/binary_local-includes