[ttfautohint-build.sh] eliminates backtick and expr syntax (shellcheck SC2006 and SC2003 warnings)

pull/405/head
Chris Simpkins 2018-02-22 11:34:42 +07:00
parent 97f6966e3f
commit fb1a83c202
1 changed files with 3 additions and 5 deletions

@ -1,7 +1,5 @@
#!/bin/sh #!/bin/sh
# shellcheck disable=SC2103 # shellcheck disable=SC2103
# shellcheck disable=SC2003
# shellcheck disable=SC2006
# This script builds a stand-alone binary for the command line version of # This script builds a stand-alone binary for the command line version of
# ttfautohint, downloading any necessary libraries. # ttfautohint, downloading any necessary libraries.
# #
@ -84,21 +82,21 @@ count=0
for i in $FREETYPE_PATCHES for i in $FREETYPE_PATCHES
do do
curl -o ft-patch-$count.diff "$i" curl -o ft-patch-$count.diff "$i"
count=`expr $count + 1` count=$(($count + 1))
done done
count=0 count=0
for i in $HARFBUZZ_PATCHES for i in $HARFBUZZ_PATCHES
do do
curl -o hb-patch-$count.diff "$i" curl -o hb-patch-$count.diff "$i"
count=`expr $count + 1` count=$(($count + 1))
done done
count=0 count=0
for i in $TTFAUTOHINT_PATCHES for i in $TTFAUTOHINT_PATCHES
do do
curl -o ta-patch-$count.diff "$i" curl -o ta-patch-$count.diff "$i"
count=`expr $count + 1` count=$(($count + 1))
done done