This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: #!/bin/sh troubles


Hi

I'm sure I got something similar a while ago and it went away when i did:
    cd /Cygnus/cygwin-b20/H-i586-cygwin32/bin
    mv sh.exe sh-orig.exe
    cp bash.exe sh.exe
    ln -s /Cygnus/cygwin-b20/H-i586-cygwin32/bin/bash.exe /bin/bash
    ln -s /Cygnus/cygwin-b20/H-i586-cygwin32/bin/bash.exe /bin/sh

I'm not sure where the problem is, but that fixed it for me.

-----Original Message-----
From: Christopher Seawood <cseawood@qualcomm.com>
To: Christopher G. Faylor <cgf@cygnus.com>
Cc: gnu-win32@cygnus.com <gnu-win32@cygnus.com>
Date: Wednesday, December 30, 1998 12:32 PM
Subject: Re: #!/bin/sh troubles


>On 29 Dec 1998, Christopher G. Faylor wrote:
>
>> In article
<Pine.LNX.4.05.9812281449390.3134-100000.cygnus.gnu-win32@cseawood.qualcomm.
com>,
>> Christopher Seawood <cseawood@qualcomm.com> wrote:
>> >On Mon, 7 Dec 1998, it was written:
>> >> I copied b20.1's sh.exe to /bin/sh and cp removed the execute
permissions.
>> >> Chmod'ing the binary did not work either.  So I moved /bin/sh to
>> >> /bin/sh.exe.  Autoconf runs and spits 6 lines of control chars, each
>> >> ending with ": not found".  Then it spits out
>> >>      /bin/sh.exe: 11: Syntax error: ")" unexpected.


Hope that helps :)

--
Michael Wood        | Kingsley Technologies
wood@kingsley.co.za | Tel: +27 21 762 0276

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]