1
0

fix: build-wine/unsign.sh fail if osslsigncode is missing

If osslsigncode is missing `build-wine/unsign.sh` fails silently with
status code 0 causing the `release.sh` script to interpret the result as
valid and skipping the actual comparison of the windows binaries.
This commit is contained in:
f321x
2025-06-16 12:55:00 +02:00
parent 3b38dbe0f7
commit eba21231c9

View File

@@ -1,5 +1,8 @@
#!/bin/bash
# exit if command fails
set -e
PROJECT_ROOT="$(dirname "$(readlink -e "$0")")/../.."
CONTRIB="$PROJECT_ROOT/contrib"
here=$(dirname "$0")
@@ -8,12 +11,9 @@ cd $here
if ! which osslsigncode > /dev/null 2>&1; then
echo "Please install osslsigncode"
exit
exit 1
fi
# exit if command fails
set -e
rm -rf signed/stripped
mkdir -p signed >/dev/null 2>&1
mkdir -p signed/stripped >/dev/null 2>&1