This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
bash problem. (Am I missing something?)
- To: "gnu-win32 at cygnus dot com" <gnu-win32 at cygnus dot com>
- Subject: bash problem. (Am I missing something?)
- From: "Buckingham,Mark,SOLON,NUSA" <mark dot buckingham at us dot nestle dot com>
- Date: Tue, 2 Dec 1997 05:35:57 -0800
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