]> git.donarmstrong.com Git - lilypond.git/blobdiff - buildscripts/lilypond-profile.sh
* aclocal.m4: Regenerate.
[lilypond.git] / buildscripts / lilypond-profile.sh
index effee3ff5f435e83dd24f68916fd5a9b2c33a44c..60502ebf536e343cd3935dbdbb4e54802c080482 100644 (file)
@@ -8,11 +8,10 @@
 #   . lilypond-profile
 
 
-
-if [ "$LILYPONDPREFIX" == "" ] ; then
+if [ -z "$LILYPONDPREFIX" ]; then
     datadir=`echo "@datadir@" | sed 's!//!/!g'`
 else
-    if [ -d "$LILYPONDPREFIX/fonts" ] ; then
+    if [ -d "$LILYPONDPREFIX/fonts" ]; then
        datadir=$LILYPONDPREFIX
     else
        eval `cat $LILYPONDPREFIX/VERSION`
@@ -35,9 +34,6 @@ export TEXMF
 GS_LIB="$datadir/ps:"${GS_LIB:=""}
 export GS_LIB
 
-
-
-
 # For direct ps output fonts. Add all available TeX Type1 fonts
 GS_FONTPATH=`kpsewhich -expand-path=\\$T1FONTS`:${GS_FONTPATH:=""}
 export GS_FONTPATH