Skip to content

Commit a8b8359

Browse files
authored
Merge pull request #9963 from f321x/fix_wine_unsign
fix: make build-wine/unsign.sh fail if osslsigncode is missing
2 parents bdf3bb3 + eba2123 commit a8b8359

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

contrib/build-wine/unsign.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/bash
22

3+
# exit if command fails
4+
set -e
5+
36
PROJECT_ROOT="$(dirname "$(readlink -e "$0")")/../.."
47
CONTRIB="$PROJECT_ROOT/contrib"
58
here=$(dirname "$0")
@@ -8,12 +11,9 @@ cd $here
811

912
if ! which osslsigncode > /dev/null 2>&1; then
1013
echo "Please install osslsigncode"
11-
exit
14+
exit 1
1215
fi
1316

14-
# exit if command fails
15-
set -e
16-
1717
rm -rf signed/stripped
1818
mkdir -p signed >/dev/null 2>&1
1919
mkdir -p signed/stripped >/dev/null 2>&1

0 commit comments

Comments
 (0)