delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/18/01:58:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 18 Jul 2005 01:57:52 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Jason Tishler <jason AT tishler DOT net>
cc: cygwin AT cygwin DOT com
Subject: Re: Invoking ash for rebaseall
In-Reply-To: <20050717205915.GA2656@tishler.net>
Message-ID: <Pine.GSO.4.61.0507180156470.13281@slinky.cs.nyu.edu>
References: <003b01c58b08$9c1b4800$6400000a AT RossLap> <20050717205915 DOT GA2656 AT tishler DOT net>
MIME-Version: 1.0

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 AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019