Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/systemrescuecd-x86-grub/files/
Date: Fri, 05 Jul 2019 20:31:44
Message-Id: 1562358685.ad152022e3fc8080b7f8015cf0a172becfe8237d.mgorny@gentoo
1 commit: ad152022e3fc8080b7f8015cf0a172becfe8237d
2 Author: Reinis Danne <rei4dan <AT> gmail <DOT> com>
3 AuthorDate: Sun Mar 10 09:54:58 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 5 20:31:25 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad152022
7
8 sys-boot/systemrescuecd-x86-grub: Quote paths
9
10 Signed-off-by: Reinis Danne <rei4dan <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/11318
12 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
13
14 sys-boot/systemrescuecd-x86-grub/files/systemrescuecd.grub-2 | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17 diff --git a/sys-boot/systemrescuecd-x86-grub/files/systemrescuecd.grub-2 b/sys-boot/systemrescuecd-x86-grub/files/systemrescuecd.grub-2
18 index 26857d23e90..332a7c37fce 100755
19 --- a/sys-boot/systemrescuecd-x86-grub/files/systemrescuecd.grub-2
20 +++ b/sys-boot/systemrescuecd-x86-grub/files/systemrescuecd.grub-2
21 @@ -129,7 +129,7 @@ if [ "${COPY_SRCD_TO_BOOT}" = yes ]; then
22 fi
23
24 # Build menu entries
25 -for isopref in ${bootdir} ${installdir}; do
26 +for isopref in "${bootdir}" "${installdir}"; do
27 # Make sure there are any ISOs
28 ls "${isopref}" | grep -E -q -e "${isorex}" || continue