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

problems.
This commit is contained in:
Francois Gouget 2004-12-14 11:39:14 +00:00 committed by Alexandre Julliard
parent 1493433e38
commit 4e422766fd
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
name="$1"
if [ "$name" == "" ] ; then
if [ "$name" = "" ] ; then
echo -n 'Function: '
read name;
fi

View File

@ -109,7 +109,7 @@ for i in "${FONTS[@]}"; do
done;
for i in *.bdf; do
if [ "$i" == "*.bdf" ]; then
if [ "$i" = "*.bdf" ]; then
echo "No fonts extracted"; rm -rf "$TMPDIR"; exit 0;
fi;
bdftopcf "$i" | gzip -c > ${i%.???}.pcf.gz;