The Lilypond RPM contains the following stanza:

        # Add the installation directory to the teTeX system tree,
        # see Documentation/misc/fontinstallation
        TEXMF="{$datadir,"`kpsexpand  \\$TEXMF`"}"
        export TEXMF

This isn't quite right, as every time you start a shell inside another
one, TEXMF gets another copy of the path shoved on to the front. The
following works:

        # Add the installation directory to the teTeX system tree,
        # see Documentation/misc/fontinstallation
        if [ -z `echo $TEXMF | grep "$datadir"` ]; then
                TEXMF="{$datadir,"`kpsexpand  \\$TEXMF`"}"
                export TEXMF
        fi

The same goes for the commented-out lines exporting GS_LIB and
GS_FONTPATH; may as well correct those too.

-- 
http://www.mupsych.org/~rrt/
partisan, n.  an adherent without sense (Bierce)


_______________________________________________
Bug-lilypond mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to