diff --git a/Slax/debian/bootfiles/bootinst.sh b/Slax/debian/bootfiles/bootinst.sh index 1c6a57e..28157a0 100644 --- a/Slax/debian/bootfiles/bootinst.sh +++ b/Slax/debian/bootfiles/bootinst.sh @@ -114,7 +114,7 @@ fi # install syslinux bootloader echo "* attempting to install bootloader to $BOOT..." -"$EXTLINUX" --install "$BOOT" +./"$EXTLINUX" --install "$BOOT" if [ $? -ne 0 ]; then echo "Error installing boot loader." diff --git a/bootfiles/bootinst.sh b/bootfiles/bootinst.sh index 3eb88e4..0106c61 100755 --- a/bootfiles/bootinst.sh +++ b/bootfiles/bootinst.sh @@ -15,7 +15,7 @@ ARCH=$(uname -m) if [ "$ARCH" = "x86_64" ]; then ARCH=64; else ARCH=32; fi EXTLINUX=extlinux.x$ARCH -"$EXTLINUX" --install "$BOOT" +./"$EXTLINUX" --install "$BOOT" if [ $? -ne 0 ]; then echo "Error installing boot loader."