commit:     6686427c5cb7178fe0db7c4ad743a02b262a844a
Author:     Dustin Smith <d.usty360 <AT> gmail <DOT> com>
AuthorDate: Tue Aug 15 01:32:48 2023 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Tue Aug 15 02:22:02 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6686427c

sys-apps/memtest86: fix missing dollar sign in shell variable

Per shellcheckbot, the shell script 39_memtest86-r1 is using the literal
string {submenu_indentation} rather than the variable
$submenu_indentation. This commit fixes that.

Closes: https://bugs.gentoo.org/839168
Signed-off-by: Dustin Smith <d.usty360 <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32314
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 sys-apps/memtest86/files/39_memtest86-r1                                | 2 +-
 .../memtest86/{memtest86-4.3.7-r2.ebuild => memtest86-4.3.7-r3.ebuild}  | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/memtest86/files/39_memtest86-r1 
b/sys-apps/memtest86/files/39_memtest86-r1
index 596a676cceb2..dc630d594626 100644
--- a/sys-apps/memtest86/files/39_memtest86-r1
+++ b/sys-apps/memtest86/files/39_memtest86-r1
@@ -27,7 +27,7 @@ if [ -f "${memtest}" ]; then
 ${submenu_indentation}menuentry 'Memtest86' {
 EOF
 
-       if [ -n "{submenu_indentation}" ]; then
+       if [ -n "${submenu_indentation}" ]; then
                prepare_grub_to_access_device "${device}" | grub_add_tab | 
grub_add_tab
        else
                prepare_grub_to_access_device "${device}" | grub_add_tab

diff --git a/sys-apps/memtest86/memtest86-4.3.7-r2.ebuild 
b/sys-apps/memtest86/memtest86-4.3.7-r3.ebuild
similarity index 100%
rename from sys-apps/memtest86/memtest86-4.3.7-r2.ebuild
rename to sys-apps/memtest86/memtest86-4.3.7-r3.ebuild

Reply via email to