Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 38743

Summary: genenviron.awk handles trailing spaces wrong
Product: Gentoo Linux Reporter: Marius Mauch (RETIRED) <genone>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: trivial Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to ignore leading and trailing whitespaces

Description Marius Mauch (RETIRED) gentoo-dev 2004-01-19 11:50:33 UTC
If you have a line with the pattern 'var="value" ' genenviron.awk generates a line like 'export var="value "' in /etc/profile.env. I'll attach a patch that should fix this.
(noticed that as I had this for LC_MESSAGES and perl didn't stop complaining even when I fixed it in profile.env as it is regenerated by /etc/init.d/bootmisc)
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-01-19 11:51:05 UTC
Created attachment 24090 [details, diff]
patch to ignore leading and trailing whitespaces
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2004-07-19 20:43:34 UTC
ok, committed to rc-scripts, will be in next baselayout release
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2004-08-02 13:20:58 UTC
baselayout-1.10.2 released