Date: Mon, 23 Mar 1998 13:16:20 +0300 (IDT) From: Eli Zaretskii To: Robert Hoehne cc: "Salvador Eduardo Tropea (SET)" , djgpp AT delorie DOT com, pavenis AT laima DOT acad DOT latnet DOT lv Subject: Re: Building gcc-2.8.1 for DJGPP In-Reply-To: <35157C9D.C6E2E6DA@gmx.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Sun, 22 Mar 1998, Robert Hoehne wrote: > O:\TMP>cat test > /bin/sh test1 > > O:\TMP>cat test1 > echo hello > > O:\TMP>bash test > test: /bin/sh: No such file or directory (ENOENT) For this feature to work, `test' should say "#!/bin/sh" on its first line, and then invoke `test1' directly. The reason is that this feature was introduced to allow running scripts which come from Unix, and those always include such a line. Pseudo-batch files such as `test' above aren't supported by this feature. Try this: O:\TMP>cat test #!/bin/sh test1