From ad152022e3fc8080b7f8015cf0a172becfe8237d Mon Sep 17 00:00:00 2001 From: Reinis Danne Date: Sun, 10 Mar 2019 11:54:58 +0200 Subject: [PATCH] sys-boot/systemrescuecd-x86-grub: Quote paths MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Reinis Danne Closes: https://github.com/gentoo/gentoo/pull/11318 Signed-off-by: Michał Górny --- sys-boot/systemrescuecd-x86-grub/files/systemrescuecd.grub-2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-boot/systemrescuecd-x86-grub/files/systemrescuecd.grub-2 b/sys-boot/systemrescuecd-x86-grub/files/systemrescuecd.grub-2 index 26857d23e90f..332a7c37fce0 100755 --- a/sys-boot/systemrescuecd-x86-grub/files/systemrescuecd.grub-2 +++ b/sys-boot/systemrescuecd-x86-grub/files/systemrescuecd.grub-2 @@ -129,7 +129,7 @@ if [ "${COPY_SRCD_TO_BOOT}" = yes ]; then fi # Build menu entries -for isopref in ${bootdir} ${installdir}; do +for isopref in "${bootdir}" "${installdir}"; do # Make sure there are any ISOs ls "${isopref}" | grep -E -q -e "${isorex}" || continue -- 2.26.2