From: Reinis Danne Date: Sun, 10 Mar 2019 09:54:58 +0000 (+0200) Subject: sys-boot/systemrescuecd-x86-grub: Quote paths X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ad152022e3fc8080b7f8015cf0a172becfe8237d;p=gentoo.git sys-boot/systemrescuecd-x86-grub: Quote paths Signed-off-by: Reinis Danne Closes: https://github.com/gentoo/gentoo/pull/11318 Signed-off-by: Michał Górny --- 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