*** empty log message ***
[h316.git] / pc-tools / fontgen / data / hmpconvert.sh
index eeb89607e7784dab095b832a090a32a725079343..4499f87b805856f48a14a6b2c9196019edc0b45a 100755 (executable)
@@ -7,6 +7,8 @@
 
 #infile="$1"
 
+FILES=hmp/*.hmp
+
 cat <<EOF
 /* Automatically generated Hershey font mappings */
 
@@ -48,7 +50,7 @@ block(){
     echo "};"
 }
 
-for n in *.hmp; do
+for n in $FILES; do
     name=`basename $n .hmp`
     cat $n | unmangle | block $name
 done
@@ -59,7 +61,7 @@ cat <<EOF
 /* And now the ready to use fonts */
 EOF
 
-for n in *.hmp; do
+for n in $FILES; do
     name=`basename $n .hmp`
     echo "pl_font font_$name;"
 done
@@ -72,7 +74,7 @@ cat <<EOF
 void font_init(){
 EOF
 
-for n in *.hmp; do
+for n in $FILES; do
     name=`basename $n .hmp`
     mapname=`basename $n .hmp`_map