summaryrefslogtreecommitdiff
path: root/scripts/build/binary_includes
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/binary_includes')
-rwxr-xr-xscripts/build/binary_includes8
1 files changed, 3 insertions, 5 deletions
diff --git a/scripts/build/binary_includes b/scripts/build/binary_includes
index e8af34c63..b9482a552 100755
--- a/scripts/build/binary_includes
+++ b/scripts/build/binary_includes
@@ -40,11 +40,9 @@ then
cd "${OLDPWD}"
# Removing symlinks
- case "${LIVE_IMAGE_TYPE}" in
- hdd*)
- find binary -type l | xargs rm -f
- ;;
- esac
+ if [ "${LIVE_IMAGE_TYPE}" = "hdd" ]; then
+ find binary -type l | xargs rm -f
+ fi
fi
# Creating stage file