Fix read usage in release-tool

* Fixes #6562
This commit is contained in:
Jonathan White 2021-05-29 12:48:08 -04:00
parent 64cb1553d0
commit 3d9877a7c7
No known key found for this signature in database
GPG Key ID: 440FC65F2E0C6E01

View File

@ -1266,10 +1266,11 @@ appsign() {
elif [ "$(uname -o)" == "Msys" ]; then
if [[ ! -f "${key}" ]]; then
exitError "Key file was not found!"
exitError "Appsign key file was not found! (${key})"
fi
read -s -p "Key password: " password
logInfo "Using appsign key ${key}."
IFS=$'\n' read -s -r -p "Key password: " password
echo
for f in "${sign_files[@]}"; do