Lutz Roeder 4 лет назад
Родитель
Сommit
2ff67a88e2
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      tools/coreml

+ 1 - 3
tools/coreml

@@ -27,9 +27,7 @@ clean() {
 sync() {
 sync() {
     echo "coreml sync"
     echo "coreml sync"
     [ -d "./third_party/source/coremltools" ] || git clone --quiet https://github.com/apple/coremltools.git "./third_party/source/coremltools"
     [ -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() {
 schema() {