Made NCPU overridable from env

This commit is contained in:
2025-09-22 00:00:31 +01:00
parent b13ceecfe3
commit de0f757590

View File

@@ -8,7 +8,7 @@ ABI="32"
SITE_GNU=ftp://ftp.mirrorservice.org/sites/ftp.gnu.org/gnu
NCPU=`/usr/sbin/psrinfo -p`
NCPU=${NCPU:-`/usr/sbin/psrinfo -p`}
ARCH=`uname -m`
OSVER=`uname -r`
OSNAME=`uname -s`
@@ -176,7 +176,7 @@ runonce() {
if $1 "$2" "$3" "$4" "$5" "$6" ; then
printf ""
else
echo "Failed $!"
echo "Failed: $?"
exit 12
fi
fi