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]

bash problem. (Am I missing something?)


I downloaded the coolview patch, and have run into a strange problem 
with bash:

let's say I have a file called test.sh:
------------------------------
#!/bin/sh

export TESTVAR=1
------------------------------

If I try to run it, (after chmod-ing and all that...)

like this:

sh-2.01$ . ./test.sh

I get this error:

sh: ./test.sh: error 0

And the TESTVAR variable isn't defined.  Can anyone tell me what I'm 
doing wrong?

Thanks.



application/ms-tnef


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