summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhelpers/lh_binary_debian-installer6
1 files changed, 3 insertions, 3 deletions
diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer
index cd6f2f6..b352a2a 100755
--- a/helpers/lh_binary_debian-installer
+++ b/helpers/lh_binary_debian-installer
@@ -567,15 +567,15 @@ then
cat ../config/binary_debian-installer/udeb_exclude >> exclude
fi
- for EXCLUDE in $(cat exclude)
+ while read EXCLUDE
do
if [ "${LH_DEBIAN_INSTALLER}" = "live" ] && [ "${EXCLUDE}" = "live-installer" ]
then
continue
fi
- rm -f "${EXCLUDE}"_*.udeb
- done
+ rm -f ${EXCLUDE}_*.udeb
+ done < exclude
# Enable live-installer
if [ "${LH_DEBIAN_INSTALLER}" = "live" ] && [ "${LH_DEBIAN_INSTALLER_DISTRIBUTION}" != "etch" ]