Use '=' instead of '==' in /bin/sh scripts to avoid portability
problems.
This commit is contained in:
parent
1493433e38
commit
4e422766fd
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
name="$1"
|
||||
if [ "$name" == "" ] ; then
|
||||
if [ "$name" = "" ] ; then
|
||||
echo -n 'Function: '
|
||||
read name;
|
||||
fi
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue