build_proton.sh: Use available cores for job count.

This commit is contained in:
tcarrio 2018-08-21 23:21:28 -04:00 committed by Andrew Eikum
parent fa8f06efaf
commit 0d9ec29b5e

View File

@ -16,7 +16,7 @@ usage()
set -e
JOBS=-j5
JOBS=-j"$(( $(nproc 2>/dev/null||sysctl -n hw.ncpu 2>/dev/null||echo 4) + 1))"
PLATFORM=$(uname)
[ -z "$STEAM_RUNTIME" ] && STEAM_RUNTIME="$HOME/steam-runtime"