- To: chat slug <slug-chat@xxxxxxxxxxx>
- Subject: [chat] portable scripting
- From: Ken Foskey <foskey@xxxxxxxxxxxxxxxx>
- Date: Mon Jan 27 21:56:02 2003
- Organization:
I want to write a portable script that must pass environment variables
to a configure script. If I use #!/bin/sh will "export CC=/path/to/CC"
always work? This does not work with tcsh and there is a slight
possibility that this is the only shell installed and symlinked to sh.
This script must be 100% reliable, what is the chances of /bin/sh being
a non-bourne shell?
--
Thanks
KenF
OpenOffice.org developer