mirror of
https://github.com/uutils/coreutils.git
synced 2026-05-06 07:26:38 -04:00
run-gnu-test.sh: Fix nproc broken by cache (#9735)
This commit is contained in:
@@ -28,7 +28,8 @@ echo "path_UUTILS='${path_UUTILS}'"
|
||||
echo "path_GNU='${path_GNU}'"
|
||||
|
||||
# Use GNU nproc for *BSD
|
||||
MAKEFLAGS="${MAKEFLAGS} -j $(${path_GNU}/src/nproc)"
|
||||
NPROC=$(command -v ${path_GNU}/src/nproc||command -v nproc)
|
||||
MAKEFLAGS="${MAKEFLAGS} -j ${NPROC}"
|
||||
export MAKEFLAGS
|
||||
###
|
||||
|
||||
|
||||
Reference in New Issue
Block a user