]> git.donarmstrong.com Git - lilypond.git/blobdiff - buildscripts/lilypond-login.sh
(class New_slur): new file. Score based slur
[lilypond.git] / buildscripts / lilypond-login.sh
index 8279c4778d0ce167492557d1b60022f9dabd933c..d0c0377945429cfe4d90df784855808a7bac05b6 100644 (file)
 set datadir="@local_lilypond_datadir@"
 
 # setenv LILYPONDPREFIX "$datadir"
-# bit silly. for ly2dvi, overrules compiled-in datadir...
+# bit silly. for lilypond, overrules compiled-in datadir...
 # setenv LILYPONDPREFIX "@local_lilypond_datadir@"
 
 # Add the installation directory to the teTeX system tree, 
 # see Documentation/misc/fontinstallation
 
-set noglob
-setenv TEXMF "{$datadir,"`kpsexpand  \$TEXMF`"}"
-unset noglob
+set alreadyset = `kpsexpand \$TEXMF | grep "$datadir"`
+if ( "$alreadyset" == "" ) then
+    set noglob
+    setenv TEXMF "{$datadir,"`kpsexpand  \$TEXMF`"}"
+    unset noglob
+endif
+unset alreadyset