This patch changes grub_env_export to create variables with empty value,
if necessary.
This makes it possible to export variables before actually assigning
them any value and is the way bash behaves.
Thanks
Andreas
ChangeLog:
2009-10-15 Andreas Born
* kern/env.c (grub_env_export): C
On Thu, Oct 15, 2009 at 08:40:37PM +0200, Andreas Born wrote:
> This patch changes grub_env_export to create variables with empty value,
> if necessary.
> This makes it possible to export variables before actually assigning
> them any value and is the way bash behaves.
This makes sense to me (
Here you go:
ChangeLog:
2009-10-15 Andreas Born
* kern/env.c (grub_env_export): Create nonexistent variables
before exporting.
The mixed indentation (tabs and spaces) in kern/env.c was a bit confusing.
Andreas
Colin Watson schrieb:
On Thu, Oct 15, 2009 at 08:40:37PM +0200, Andreas
Same here. Nothing changed as of r1917 and I didn't get any further
feedback either.
I've attached a rediffed version, too.
Andreas Born schrieb:
Here you go:
ChangeLog:
2009-10-15 Andreas Born
* kern/env.c (grub_env_export): Create nonexistent variables
before exporting.
The mixe
I just noticed that I forgot the header line of the diff. Sorry for that.
New double checked version attached.
The Changelog is still:
2009-12-15 Andreas Born
* kern/env.c (grub_env_export): Create nonexistent variables
before exporting.
Andreas Born schrieb:
Same here. Nothing changed
Andreas Born wrote:
> I just noticed that I forgot the header line of the diff. Sorry for that.
> New double checked version attached.
>
Applied with stylistic fixes
> The Changelog is still:
> 2009-12-15 Andreas Born
>
> * kern/env.c (grub_env_export): Create nonexistent variables
> before