diff options
author | Will Rosecrans <wrosecran@edgecast.com> | 2018-01-08 15:00:20 -0800 |
---|---|---|
committer | Will Rosecrans <wrosecran@edgecast.com> | 2018-01-08 15:00:20 -0800 |
commit | e2105dfaad7782405b0a3be84531465d9bc59d13 (patch) | |
tree | 8372ab02a8c982fcd293f1dd384d9a5b48bd9450 /build_cmake_pybullet_double.sh | |
parent | 7acd169bef320b6b6e872b6107383d2047e6a410 (diff) | |
download | bullet3-e2105dfaad7782405b0a3be84531465d9bc59d13.tar.gz |
Fix nproc unavailable
Diffstat (limited to 'build_cmake_pybullet_double.sh')
-rwxr-xr-x | build_cmake_pybullet_double.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_cmake_pybullet_double.sh b/build_cmake_pybullet_double.sh index 802b87d04..48c0ccdc4 100755 --- a/build_cmake_pybullet_double.sh +++ b/build_cmake_pybullet_double.sh @@ -6,7 +6,7 @@ fi mkdir -p build_cmake cd build_cmake cmake -DBUILD_PYBULLET=ON -DBUILD_PYBULLET_NUMPY=OFF -DUSE_DOUBLE_PRECISION=ON -DCMAKE_BUILD_TYPE=Release .. -make -j $(command nproc || echo 12) +make -j $(command nproc 2>/dev/null || echo 12) cd examples cd pybullet if [ -e pybullet.dylib ]; then |