Could it possibly be that the script is run by /bin/sh when called
from procmail but /bin/bash when you call it directly.
Try:
TEXMF='...'
export TEXMF

   /Mats

Scott Webber wrote:
Hey everybody,

I got this brainy idea to setup a procmail address that you email .ly src to and it emails you back a pdf file. So my problem is that the $TEXMF variable isn't being set properly in my .sh script. Here's the code:

--------------------------------------------------------
. /etc/profile

#this is a hack. Shouldn't this be loaded by the profile or something?
export TEXMF='{/usr/local/share/lilypond/2.3.5,{/home/batsshadow/texmf,!!/usr/share/texmf-local,!!/usr/share/texmf}}'


------------------------------------------------------------

So does anybody know how this is actually set? It works fine if I'm not in the procmail script. If anybody wants to see the whole procmail setup, just ask.

Thanks,
Scott


_______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user

-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================


_______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to