X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f From: sandmann AT clio DOT rice DOT edu (Charles Sandmann) Message-Id: <10112161914.AA20184@clio.rice.edu> Subject: Re: The Bash 2.05 fixinc.sh bug To: tim DOT van DOT holder AT pandora DOT be (Tim Van Holder) Date: Sun, 16 Dec 2001 13:14:58 -0600 (CST) Cc: djgpp-workers AT delorie DOT com, snowball3 AT bigfoot DOT com, acottrel AT ihug DOT com DOT au In-Reply-To: <000d01c18663$d41d9f80$d13276d5@pandora.be> from "Tim Van Holder" at Dec 16, 2001 07:59:45 PM X-Mailer: ELM [version 2.5 PL2] Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > No, that's right; I get > > $TMPDIR/dj100000: $TMPDIR/dj100000: cannot execute binary file > > so bash (well, presumably bash) is trying to run the temporary script. > In fact, put 'MAKE="make"' in a file called 'foo', and 'bash foo' will > give the same error. > Perhaps when invoking a Unixy shell through system, we should put > #! > as the first line, so that it is a real script? > In fact, even just prepending a line containing only a '#' seems to > fix it. Confirmed: test2.sh: MAKE="make" bash204 test2.sh => OK (silent return) bash205 test2.sh => test2.sh: test2.sh: Cannot execute binary file