delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/17/08:31:27

From: mdruiter AT cs DOT vu DOT nl (Ruiter de M)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Bug in Bash/Make combi with `:'
Date: 17 Jun 1998 11:55:35 GMT
Organization: Fac. Wiskunde & Informatica, VU, Amsterdam
Lines: 47
Message-ID: <6m8arn$fnr$1@star.cs.vu.nl>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980609195505 DOT 16324d-100000 AT is>
NNTP-Posting-Host: sloep111.cs.vu.nl
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) wrote:
> On 9 Jun 1998, Ruiter de M wrote:
> > all: script.sh
> > 	:
> > 	$(SHELL) script.sh 'echo first' 'echo second'
> > 	$(SHELL) script.sh 'echo first' 'echo second'

> You have an old binary of Make.  Please download the latest mak3761b.zip, 
> where this bug is corrected.  (It's in Make, and has nothing to do with 
> Bash.)

Hmm, now I've tested it with the latest Make-binary (actually I
already had it), I *still* experience the problem:

bash$ ls -l bash.exe make.exe
-rwxr-xr-x   1 mdruiter dos        403968 Jun  7  1997 bash.exe
-rwxr-xr-x   1 mdruiter dos        177664 Feb 28 13:09 make.exe
bash$ make --version
GNU Make version 3.76.1, by Richard Stallman and Roland McGrath.
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97
	Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to <bug-gnu-utils AT prep DOT ai DOT mit DOT edu>.

bash$ bash -version
GNU bash, version 1.14.7(2) r3.1 w/multibyte extension
bash$ cat makefile
SHELL=/bin/sh
all:
	:
	$(SHELL) script.sh 'echo first'
bash$ make
:
e:/djgpp/bin/sh.exe script.sh 'echo first'
first

I'm using MS-DOS 7.0 without Win95, and LFN=n, although I don't think
that's relevant. What am I doing wrong ?!?

-- 
Groeten, Michel.        http://www.cs.vu.nl/~mdruiter
  ____________
  \  /====\  /          "You know, Beavis, you need things that suck,
   \/      \/           to have things that are cool", Butt-Head.

- Raw text -


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