From e74c8ac80c70b44315f40c29238a96dcf7b50aa8 Mon Sep 17 00:00:00 2001 From: Ian Lepore Date: Thu, 12 Jul 2018 17:22:25 +0000 Subject: [PATCH] Wee fix: $dev is passed in to the function with the /dev prefix already in place, don't add it. --- tools/boot/install-boot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/boot/install-boot.sh b/tools/boot/install-boot.sh index 9aaf07784964..49948a1b7739 100755 --- a/tools/boot/install-boot.sh +++ b/tools/boot/install-boot.sh @@ -33,9 +33,9 @@ make_esp() { dev=$1 dst=$2 - newfs_msdos -a 32 /dev/${dev} + newfs_msdos -a 32 ${dev} mntpt=$(mktemp -d /tmp/stand-test.XXXXXX) - mount -t msdos /dev/${md} ${mntpt} + mount -t msdos ${dev} ${mntpt} mkdir -p ${mntpt}/efi/boot cp ${dst}/boot/loader.efi ${mntpt}/efi/boot/bootx64.efi umount ${mntpt}