packages: java-xmlgraphics-fop/fop-font-install.sh - don't invoke TTFReader...
sls
sls at pld-linux.org
Wed Sep 28 13:47:18 CEST 2011
Author: sls Date: Wed Sep 28 11:47:18 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- don't invoke TTFReader if TTF_DIR is empty
---- Files affected:
packages/java-xmlgraphics-fop:
fop-font-install.sh (1.8 -> 1.9)
---- Diffs:
================================================================
Index: packages/java-xmlgraphics-fop/fop-font-install.sh
diff -u packages/java-xmlgraphics-fop/fop-font-install.sh:1.8 packages/java-xmlgraphics-fop/fop-font-install.sh:1.9
--- packages/java-xmlgraphics-fop/fop-font-install.sh:1.8 Mon Sep 27 18:27:40 2010
+++ packages/java-xmlgraphics-fop/fop-font-install.sh Wed Sep 28 13:47:12 2011
@@ -13,8 +13,10 @@
# create font metric files
for font in $TTF_DIR/*.ttf; do
- java -classpath $CLASSPATH \
- org.apache.fop.fonts.apps.TTFReader $font $FOPDIR/$(basename $font .ttf).xml;
+ if [ -f $font ]; then
+ java -classpath $CLASSPATH \
+ org.apache.fop.fonts.apps.TTFReader $font $FOPDIR/$(basename $font .ttf).xml;
+ fi
done
# create configuration file
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/java-xmlgraphics-fop/fop-font-install.sh?r1=1.8&r2=1.9&f=u
More information about the pld-cvs-commit
mailing list