summaryrefslogtreecommitdiff
path: root/helpers/binary_local-includes
diff options
context:
space:
mode:
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