public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Ash feature causing defect in configure scripts.
@ 2000-05-04  8:18 Earnie Boyd
  0 siblings, 0 replies; 2+ messages in thread
From: Earnie Boyd @ 2000-05-04  8:18 UTC (permalink / raw)
  To: cygwin users

I've found that sh.exe has doesn't execute the following in a subshell and thus
affects the parent.  This has an affect on some shell scripts that expect that
the command doesn't affect the parent and IMO I don't think it should either.

Feature/defect:

`cd /` will actually change the directory of the current process when what is
intended is to check the noise returning from the subprocess.

Cheers,

=====
---
   Earnie Boyd: < mailto:earnie_boyd@yahoo.com >
            __Cygwin: POSIX on Windows__
Cygwin Newbies: < http://www.freeyellow.com/members5/gw32/index.html >
           __Minimalist GNU for Windows__
  Mingw32 List: < http://www.egroups.com/group/mingw32/ >
    Mingw Home: < http://www.mingw.org/ >

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Ash feature causing defect in configure scripts.
@ 2000-05-04  8:47 Earnie Boyd
  0 siblings, 0 replies; 2+ messages in thread
From: Earnie Boyd @ 2000-05-04  8:47 UTC (permalink / raw)
  To: cygwin users

BTW, if you have a configure script that exhibits this behavior the workaround
is to do `bash ../configure --prefix=/your/path'.

--- Earnie Boyd <earnie_boyd@yahoo.com> wrote:
> I've found that sh.exe has doesn't execute the following in a subshell and
> thus
> affects the parent.  This has an affect on some shell scripts that expect
> that
> the command doesn't affect the parent and IMO I don't think it should either.
> 
> Feature/defect:
> 
> `cd /` will actually change the directory of the current process when what is
> intended is to check the noise returning from the subprocess.
> 
> Cheers,
> 
> =====
> ---
>    Earnie Boyd: < mailto:earnie_boyd@yahoo.com >
>             __Cygwin: POSIX on Windows__
> Cygwin Newbies: < http://www.freeyellow.com/members5/gw32/index.html >
>            __Minimalist GNU for Windows__
>   Mingw32 List: < http://www.egroups.com/group/mingw32/ >
>     Mingw Home: < http://www.mingw.org/ >
> 
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 
> 

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-05-04  8:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-04  8:18 Ash feature causing defect in configure scripts Earnie Boyd
2000-05-04  8:47 Earnie Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).