summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinis Danne <rei4dan@gmail.com>2019-03-10 11:54:58 +0200
committerMichał Górny <mgorny@gentoo.org>2019-07-05 22:31:25 +0200
commitad152022e3fc8080b7f8015cf0a172becfe8237d (patch)
tree85587aea8d44384322da9f0e2c0fd7da984c8ac5 /sys-boot
parentsys-boot/systemrescuecd-x86-grub: Update for 6 (diff)
downloadgentoo-ad152022e3fc8080b7f8015cf0a172becfe8237d.tar.gz
gentoo-ad152022e3fc8080b7f8015cf0a172becfe8237d.tar.bz2
gentoo-ad152022e3fc8080b7f8015cf0a172becfe8237d.zip
sys-boot/systemrescuecd-x86-grub: Quote paths
Signed-off-by: Reinis Danne <rei4dan@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/11318 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-boot')
-rwxr-xr-xsys-boot/systemrescuecd-x86-grub/files/systemrescuecd.grub-22
1 files changed, 1 insertions, 1 deletions
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