From 090c6f3ceaef0c344b822063012c08c1e50fba88 Mon Sep 17 00:00:00 2001
From: Kristian Klausen <klausenbusk@hotmail.com>
Date: Thu, 26 May 2016 17:33:20 +0200
Subject: Revert "Correct syslinux mbr.bin path."

This reverts commit 5161dcdf3bb50a8be7385f86fdfc60b0eb700bfa.
---
 scripts/build/binary_hdd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'scripts')

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
-- 
cgit v1.2.3