Remove "Press Return" if not in building

This commit is contained in:
uazo 2022-02-02 20:38:55 +01:00 committed by GitHub
parent ea9a3a650f
commit 2c9faf66b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 6 deletions

View File

@ -70,12 +70,11 @@ if [[ DOBUILD -eq 1 ]]; then
DOEXPORT=1
fi
if [[ OK -eq 0 ]]; then
if [ -z "$SILENT" ]; then
echo "Read to add $PATCH. Press return"
read -n 1
if [[ OK -eq 0 ]]; then
if [ -z "$SILENT" ]; then
echo "Read to add $PATCH. Press return"
read -n 1
fi
fi
fi