|
From: | Vladimir 'phcoder' Serbinenko |
Subject: | Re: submenu fails to see variables |
Date: | Mon, 6 Sep 2021 15:39:50 +0200 |
For some reason global variables are not seen in a submenu {} section.
Does anyone happen to know why this behavior is useful?
Pseudocode:
set var=val
menuentry "me" {
set
echo "var ${var}"
sleep 3
}
submenu "sm" {
set
echo "var ${var}"
sleep 3
}
Seen with grub 2.02 and 2.04.
Thanks,
Olaf
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
[Prev in Thread] | Current Thread | [Next in Thread] |