瀏覽代碼

Fix torch script

Lutz Roeder 7 年之前
父節點
當前提交
809fa5f47f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/torch

+ 1 - 1
tools/torch

@@ -21,7 +21,7 @@ git_sync() {
         git -C "${third_party}/${1}" reset --quiet --hard origin/master
     else
         echo "Clone ${2}..."
-        git -C "${third_party}" clone --recursive ${2}
+        git -C "${third_party}" clone --recursive ${2} ${1}
     fi
     git -C "${third_party}" submodule update --init
 }