summaryrefslogtreecommitdiff
path: root/scripts/build/binary_disk
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/binary_disk')
-rwxr-xr-xscripts/build/binary_disk4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/binary_disk b/scripts/build/binary_disk
index 21092cab9..5cecd9b55 100755
--- a/scripts/build/binary_disk
+++ b/scripts/build/binary_disk
@@ -131,9 +131,9 @@ case "${LB_DEBIAN_INSTALLER}" in
esac
#FIXME review the netboot case
-for LOCATION in "${LIVE_BUILD}/data/debian-cd" /usr/share/live/build/data/debian-cd
+for LOCATION in /usr/share/live/build/data/debian-cd "${LIVE_BUILD}/data/debian-cd"
do
- if [ -e "${LOCATION}" ]
+ if [ -e "${LOCATION}/${LB_PARENT_DISTRIBUTION_BINARY}" ]
then
case "${LB_DEBIAN_INSTALLER}" in
cdrom)