summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/binary_hdd4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/binary_hdd b/scripts/build/binary_hdd
index d0db38285..55932be8b 100755
--- a/scripts/build/binary_hdd
+++ b/scripts/build/binary_hdd
@@ -186,7 +186,7 @@ case "${LB_BUILD_WITH_CHROOT}" in
if [ "${LB_PRIMARY_BOOTLOADER}" = "syslinux" ]
then
- dd if=chroot/usr/lib/SYSLINUX/mbr.bin of=${FREELO} bs=440 count=1
+ dd if=chroot/usr/lib/${_BOOTLOADER}/mbr.bin of=${FREELO} bs=440 count=1
fi
;;
@@ -206,7 +206,7 @@ case "${LB_BUILD_WITH_CHROOT}" in
if [ "${LB_PRIMARY_BOOTLOADER}" = "syslinux" ]
then
- dd if=/usr/lib/SYSLINUX/mbr.bin of=${FREELO} bs=440 count=1
+ dd if=/usr/lib/${_BOOTLOADER}/mbr.bin of=${FREELO} bs=440 count=1
fi
;;
esac