summaryrefslogtreecommitdiffstats
path: root/tests/getopts.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2025-06-08 16:32:01 -0400
committerTavian Barnes <tavianator@tavianator.com>2025-06-15 10:23:27 -0400
commit38f3e3e7ba210bbc45c2077102c308ed8abae061 (patch)
treeb45afca281216cc833b99311c6e6fd3ddc55d045 /tests/getopts.sh
parentcb40f51e4e6375a10265484b6959c6b1b0591378 (diff)
downloadbfs-38f3e3e7ba210bbc45c2077102c308ed8abae061.tar.xz
*.sh: Don't shadow the global nproc
This avoids the need for the bash 3 workaround of running command nproc in a subshell.
Diffstat (limited to 'tests/getopts.sh')
-rw-r--r--tests/getopts.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/getopts.sh b/tests/getopts.sh
index cbb3ce4..a16511f 100644
--- a/tests/getopts.sh
+++ b/tests/getopts.sh
@@ -5,7 +5,7 @@
## Argument parsing
-JOBS=$(nproc)
+JOBS=$(_nproc)
MAKE=
PATTERNS=()
SUDO=()