From 3293b36e0f0d983426f56781dedb7141e9b30b8c Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 29 Jun 2018 09:07:23 +0200 Subject: [PATCH] fix unsign script --- contrib/build-wine/unsign.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) mode change 100644 => 100755 contrib/build-wine/unsign.sh diff --git a/contrib/build-wine/unsign.sh b/contrib/build-wine/unsign.sh old mode 100644 new mode 100755 index b3ba9e8c0..28af45174 --- a/contrib/build-wine/unsign.sh +++ b/contrib/build-wine/unsign.sh @@ -5,10 +5,12 @@ cd $here if ! which osslsigncode > /dev/null 2>&1; then echo "Please install osslsigncode" + exit fi -if [ $# -neq 2 ]; then +if [ $# -ne 2 ]; then echo "Usage: $0 signed_binary unsigned_binary" + exit fi out="$1-stripped.exe"