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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user