We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccd4bbd commit 33e8036Copy full SHA for 33e8036
util/run-gnu-test.sh
@@ -28,7 +28,8 @@ echo "path_UUTILS='${path_UUTILS}'"
28
echo "path_GNU='${path_GNU}'"
29
30
# Use GNU nproc for *BSD
31
-MAKEFLAGS="${MAKEFLAGS} -j $(${path_GNU}/src/nproc)"
+NPROC=$(command -v ${path_GNU}/src/nproc||command -v nproc)
32
+MAKEFLAGS="${MAKEFLAGS} -j ${NPROC}"
33
export MAKEFLAGS
34
###
35
0 commit comments