Skip to content

Commit eeb44be

Browse files
committed
BUG: Do not try to clone ninja directory when it exists
1 parent 6afa50b commit eeb44be

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/internal/manylinux-build-common.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ case $(uname -p) in
7373
;;
7474
esac
7575
if ! type ninja > /dev/null 2>&1; then
76-
git clone git://github.com/ninja-build/ninja.git
76+
if test ! -d ninja; then
77+
git clone git://github.com/ninja-build/ninja.git
78+
fi
7779
pushd ninja
7880
git checkout release
7981
cmake -Bbuild-cmake -H.

0 commit comments

Comments
 (0)