From: Daniel Molkentin Date: Thu, 16 Apr 2015 14:33:36 +0000 (+0200) Subject: OS X: Actually Make the signing script fail on failure X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~1803^2~182 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c3dca7a288f08fecac0c46ebf053a2a443bb6418;p=nextcloud-desktop.git OS X: Actually Make the signing script fail on failure Addresses #3114 --- diff --git a/admin/osx/sign_app.sh b/admin/osx/sign_app.sh index 2a0994f58..22f4dffd4 100755 --- a/admin/osx/sign_app.sh +++ b/admin/osx/sign_app.sh @@ -1,4 +1,4 @@ -#!/bin/sh -x +#!/bin/sh -xe [ "$#" -lt 2 ] && echo "Usage: sign_app.sh " && exit @@ -7,6 +7,6 @@ identity="$2" codesign -s "$identity" --force --verbose=4 --deep "$src_app" -# Just for our debug purposes: +# Verify the signature spctl -a -t exec -vv $src_app codesign -dv $src_app