Tugger the SLUGger!SLUG Mailing List Archives

[chat] portable scripting


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