Gert Doering has submitted this change. ( 
https://gerrit.openvpn.net/c/openvpn/+/2031?usp=email )

Change subject: Fix typo of nprocs instead of nproc in run-cppcheck.sh
......................................................................

Fix typo of nprocs instead of nproc in run-cppcheck.sh

Commit ccd058e75 accidentally used nprocs instead nproc, making the
script fail on Linux.

Change-Id: I136d57b7487f228e37894fa710b1ccc2c4606eb5
Signed-off-by: Arne Schwabe <[email protected]>
Acked-by: Antonio Quartulli <[email protected]>
Acked-by: Frank Lichtenheld <[email protected]>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2031
Message-Id: <[email protected]>
URL: 
https://www.mail-archive.com/[email protected]/msg40134.html
Signed-off-by: Gert Doering <[email protected]>
---
M dev-tools/run-cppcheck.sh
1 file changed, 1 insertion(+), 1 deletion(-)




diff --git a/dev-tools/run-cppcheck.sh b/dev-tools/run-cppcheck.sh
index 58609b2..a9c4643 100755
--- a/dev-tools/run-cppcheck.sh
+++ b/dev-tools/run-cppcheck.sh
@@ -22,7 +22,7 @@
     num_procs=$(sysctl -n hw.ncpu)
 else
     SCRIPT_DIR=$(dirname $(readlink -e "${BASH_SOURCE[0]}"))
-    num_procs=$(nprocs)
+    num_procs=$(nproc)
 fi
 : ${SOURCE_DIR:=$SCRIPT_DIR/..}
 : ${BUILD_DIR:=$PWD}

--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2031?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I136d57b7487f228e37894fa710b1ccc2c4606eb5
Gerrit-Change-Number: 2031
Gerrit-PatchSet: 2
Gerrit-Owner: Arne Schwabe <[email protected]>
Gerrit-Reviewer: Antonio Quartulli <[email protected]>
Gerrit-Reviewer: Frank Lichtenheld <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to