[Openmcl-devel] Openmcl script: Request for adding external sourcing of other shell scripts
pjb at informatimago.com
Fri Nov 19 18:17:59 UTC 2004
Frank Gönninger, PRION Consulting Services AG writes:
> I have to make sure that another shell script gets sourced from within the
> openmcl script. This is due to the fact that the other script (it being part
> of a library I have to load within OpenMCL: ImageMagick - but the same thing
> is true for others as well) sets some environment variables that have to be
> set when loading the external shared library (.dylib) (done via UFFI).
This is usually done this way:
cat > my-entry-point <<EOF
exec openmcl $@
chmod 755 my-entry-point
There's no reason to patch distributed programs for such a futil purpose.
__Pascal Bourguignon__ http://www.informatimago.com/
The world will now reboot; don't bother saving your artefacts.
More information about the Openmcl-devel