Patch to /etc/profile to deal with $HOME with a space

Jörg Schaible Joerg.Schaible@Elsag-Solutions.com
Wed Dec 1 09:26:00 GMT 2004


Hi John,

John Morrison wrote on Wednesday, December 01, 2004 10:08 AM:

[snip]

> 
> I did consider changing /etc/postinstall/passwd-grp.sh so that
> instead of running 
> 
> /bin/mkpasswd -l -c > /etc/passwd
> 
> it does
> 
> mkpasswd.exe -l -c | sed 's/cygdrive\/.*Documents and Settings/home/'
> > /etc/passwd 

This is nonsense. "Documents and Settings" is localized.

[snip]

- Jörg

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list