Explorar o código

[ttfautohint-build.sh] removed unnecessary $ on arithmetic variables

Chris Simpkins %!s(int64=7) %!d(string=hai) anos
pai
achega
f2ada74287
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      tools/scripts/install/ttfautohint-build.sh

+ 3 - 3
tools/scripts/install/ttfautohint-build.sh

@@ -82,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=$(($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=$(($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=$(($count + 1))
+  count=$((count + 1))
 done
 done