bash problem. (Am I missing something?)

Buckingham, Mark, SOLON, NUSA mark.buckingham@us.nestle.com
Tue Dec 2 07:22:00 GMT 1997


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.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00000.bin
Type: application/vnd.ms-tnef
Size: 1709 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/19971202/78280309/attachment.tnef>


More information about the Cygwin mailing list