ソースを参照

Update Core ML script

Lutz Roeder 4 年 前
コミット
2ff67a88e2
1 ファイル変更1 行追加3 行削除
  1. 1 3
      tools/coreml

+ 1 - 3
tools/coreml

@@ -27,9 +27,7 @@ clean() {
 sync() {
     echo "coreml sync"
     [ -d "./third_party/source/coremltools" ] || git clone --quiet https://github.com/apple/coremltools.git "./third_party/source/coremltools"
-    pushd "./third_party/source/coremltools" > /dev/null
-    git pull --quiet --prune
-    popd > /dev/null
+    git -C "./third_party/source/coremltools" pull --quiet --prune
 }
 
 schema() {