Invoking ash for rebaseall

Brian Dessent brian@dessent.net
Mon Jul 18 06:06:00 GMT 2005


Igor Pechtchanski wrote:

> Umm, why should rebaseall require a PATH setting at all?  Wouldn't it be
> easier to specify full paths for every command instead of telling users to
> set their PATH?

Well, if the user does not have /usr/bin in their Windows path (instead
relying on /etc/profile to add it) and they try to run "ash rebaseall"
from a command prompt, they will get an error about not finding
cygwin1.dll unless /usr/bin is the CWD.

It would be nice if ash had a "-l" option as bash does to tell it to be
a login shell and read the profile/rc files.  But it doesn't, AFAICT. 
It seems to want to sense this by checking if argv[0][0] == '-'.  *sigh*

Brian

--
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