Try to prevent frequent sudo timeout after compiling rascsi (#636)

* Try to prevent frequent sudo timeout after compiling rascsi

* Fix typo
This commit is contained in:
Daniel Markstedt 2022-02-03 17:40:15 -08:00 committed by GitHub
parent 7c1020a40b
commit 38f8191a45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,7 +87,10 @@ function compileRaScsi() {
cd "$BASE/src/raspberrypi" || exit 1
echo "Compiling with ${CORES:-1} simultaneous cores..."
( make clean && make -j "${CORES:-1}" all CONNECT_TYPE="${CONNECT_TYPE:-FULLSPEC}" ) </dev/null
make clean </dev/null
sudo -v
make -j "${CORES:-1}" all CONNECT_TYPE="${CONNECT_TYPE:-FULLSPEC}" </dev/null
sudo -v
}
function cleanupOutdatedManPage() {