Re: [PATCH 1/2] Exporting variables to upper levels

2025-05-27 Thread Avnish Chouhan
Message: 4 Date: Mon, 26 May 2025 19:22:38 +0200 From: Jiří 'bindiff' Wolker To: grub-devel@gnu.org Subject: [PATCH 1/2] Exporting variables to upper levels Message-ID: <853421b8-f534-45a9-9c21-0769148fc...@jwo.cz> Content-Type: text/plain; charset=UTF-8; format=flowed This adds

Re: [PATCH 1/2] Exporting variables to upper levels

2025-05-26 Thread Jiří 'bindiff' Wolker via Grub-devel
Please explain what problem you try to solve. Bash doesn't do anything of the kind. Why should we? Looks like a solution without a problem I'll provide you an example script similar to one which I use, heavily simplified to present only the specific issue: set kern_tty=tty menuentry "Start syst

Re: [PATCH 1/2] Exporting variables to upper levels

2025-05-26 Thread Vladimir 'phcoder' Serbinenko
Please explain what problem you try to solve. Bash doesn't do anything of the kind. Why should we? Looks like a solution without a problem Regards Vladimir 'phcoder' Serbinenko Le lun. 26 mai 2025, 20:34, Jiří 'bindiff' Wolker via Grub-devel < grub-devel@gnu.org> a écrit : > This adds new option

[PATCH 1/2] Exporting variables to upper levels

2025-05-26 Thread Jiří 'bindiff' Wolker via Grub-devel
This adds new options ‘-g’ and ‘-u’ to the ‘export’ command. By default, the ‘export’ command exports the variables to lower environment context nesting levels, but not to the upper levels. This behavior is left unchanged from the original version. Using of the ‘-g’ option allows exporting of th