delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/12/30/00:35:27

From: amb AT gedanken DOT demon DOT co DOT uk (Andrew M. Bishop)
Subject: Re: [Beta-20.1 Win95osr2] Make problem with shell commands
30 Dec 1998 00:35:27 -0800 :
Message-ID: <E0zuyz8-00028i-00.cygnus.gnu-win32@gedanken.demon.co.uk>
References: <E0zuDt6-0000Eo-00 AT gedanken DOT demon DOT co DOT uk>
To: gnu-win32 AT cygnus DOT com

> I am having a problem with make and some shell commands that do not
> work as expected.  They are just simple file tests using the '['
> program.
> 
> When I run them at the console they work, but putting them into a
> Makefile stops them from working.

I have had two answers to this question by e-mail and both have told
me to make sure that /bin/sh.exe == /bin/bash.exe.  This advice is
however a contradiction to the FAQ which states that the /bin/sh.exe
should be the sh.exe from the installation.  Can I therefore ask that
the FAQ be corrected on this point.

-------------------- FAQ --------------------
Second, if you are installing the full distribution (`full.exe'),
various programs will need to be able to find `/bin/sh'. You should
`mkdir -p /bin' and put a copy of `sh.exe' there, removing the older
version, if present.
-------------------- FAQ --------------------

Unfortunately changing /bin/sh to be bash did not solve the problem.

The operation of the '[' program should not be affected by which shell
it is running under provided that shell is a Bourne shell replacement.

-- 
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop                             amb AT gedanken DOT demon DOT co DOT uk
                                      http://www.gedanken.demon.co.uk/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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