Remove time prefix from rsync (#11525)
Summary:
This fails with zsh saying "time: command not found".
cc soumith
Pull Request resolved: https://github.com/pytorch/pytorch/pull/11525
Differential Revision: D9772522
Pulled By: apaszke
fbshipit-source-id: b80d108fa6b174d68ada08a9fdbf7260ee37e08f
diff --git a/tools/build_pytorch_libs.sh b/tools/build_pytorch_libs.sh
index 3134bca..579cde7 100755
--- a/tools/build_pytorch_libs.sh
+++ b/tools/build_pytorch_libs.sh
@@ -12,7 +12,7 @@
SYNC_COMMAND="cp"
if [ -x "$(command -v rsync)" ]; then
- SYNC_COMMAND="time rsync -lptgoD"
+ SYNC_COMMAND="rsync -lptgoD"
fi
# Options for building only a subset of the libraries