This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Invoking ash for rebaseall


On Sun, 17 Jul 2005, Jason Tishler wrote:

> Ross,
>
> On Sun, Jul 17, 2005 at 02:48:39PM -0500, Ross Boulet wrote:
> > My apologies if this is covered somewhere (FAQ, user guide, etc.)
> > Rebaseall now requires being run under ash, but when I run ash from
> > "Start/Run" or from a cmd.exe prompt, it does not execute /etc/profile
> > and therefore does not have a path to rebaseall (or any other cygwin
> > directory for that matter).
> >
> > Granted, I could go in to windoze and add the cygwin directories to my
> > system path, or manually source /etc/profile at the ash prompt.  But
> > is there a flag to tell ash to act as a login shell and execute
> > /etc/profile?
>
> Just use the following (from ash):
>
>     $ PATH=/bin rebaseall
>
> Jason

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?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]