Commit 4e422766 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Use '=' instead of '==' in /bin/sh scripts to avoid portability

problems.
parent 1493433e
#!/bin/sh #!/bin/sh
name="$1" name="$1"
if [ "$name" == "" ] ; then if [ "$name" = "" ] ; then
echo -n 'Function: ' echo -n 'Function: '
read name; read name;
fi fi
......
...@@ -109,7 +109,7 @@ for i in "${FONTS[@]}"; do ...@@ -109,7 +109,7 @@ for i in "${FONTS[@]}"; do
done; done;
for i in *.bdf; do for i in *.bdf; do
if [ "$i" == "*.bdf" ]; then if [ "$i" = "*.bdf" ]; then
echo "No fonts extracted"; rm -rf "$TMPDIR"; exit 0; echo "No fonts extracted"; rm -rf "$TMPDIR"; exit 0;
fi; fi;
bdftopcf "$i" | gzip -c > ${i%.???}.pcf.gz; bdftopcf "$i" | gzip -c > ${i%.???}.pcf.gz;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment