commit:     ad152022e3fc8080b7f8015cf0a172becfe8237d
Author:     Reinis Danne <rei4dan <AT> gmail <DOT> com>
AuthorDate: Sun Mar 10 09:54:58 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jul  5 20:31:25 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad152022

sys-boot/systemrescuecd-x86-grub: Quote paths

Signed-off-by: Reinis Danne <rei4dan <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11318
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 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 26857d23e90..332a7c37fce 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
 

Reply via email to