Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <42DB4708.922E20EB@dessent.net> Date: Sun, 17 Jul 2005 23:07:04 -0700 From: Brian Dessent MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Invoking ash for rebaseall References: <003b01c58b08$9c1b4800$6400000a AT RossLap> <20050717205915 DOT GA2656 AT tishler DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Report: -5.9/5.0 ---- Start SpamAssassin results * -3.3 ALL_TRUSTED Did not pass through any untrusted hosts * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] * 0.0 AWL AWL: From: address is in the auto white-list ---- End SpamAssassin results X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com 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/