浏览代码

double quote to prevent globbing / splitting

Chris Simpkins 7 年之前
父节点
当前提交
1a4ccfe29c
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      tools/scripts/install/ttfautohint-build.sh

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

@@ -63,21 +63,21 @@ curl -L -O "http://download.savannah.gnu.org/releases/freetype/$TTFAUTOHINT.tar.
 count=0
 for i in $FREETYPE_PATCHES
 do
-  curl -o ft-patch-$count.diff $i
+  curl -o ft-patch-$count.diff "$i"
   count=$($count + 1)
 done
 
 count=0
 for i in $HARFBUZZ_PATCHES
 do
-  curl -o hb-patch-$count.diff $i
+  curl -o hb-patch-$count.diff "$i"
   count=$($count + 1)
 done
 
 count=0
 for i in $TTFAUTOHINT_PATCHES
 do
-  curl -o ta-patch-$count.diff $i
+  curl -o ta-patch-$count.diff "$i"
   count=$($count + 1)
 done