浏览代码

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

Chris Simpkins 7 年之前
父节点
当前提交
f2ada74287
共有 1 个文件被更改,包括 3 次插入3 次删除
  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