From 9f163b787d8c230c07d7b18c9ae5a6660d9f70dd Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Sat, 9 Nov 2013 19:22:42 +0000 Subject: [PATCH] Sign the right file. svn path=/trunk/; revision=53203 --- packaging/macosx/osx-dmg.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/macosx/osx-dmg.sh.in b/packaging/macosx/osx-dmg.sh.in index a24e50f932..03cd5519ef 100755 --- a/packaging/macosx/osx-dmg.sh.in +++ b/packaging/macosx/osx-dmg.sh.in @@ -161,7 +161,7 @@ if [ -n "$CODE_SIGN_IDENTITY" ] ; then echo -e "Signing $pkg_file" mv "$pkg_file" "$pkg_file_unsigned" || exit 1 - productsign --sign "$CODE_SIGN_IDENTITY" "$pkg_file_flattened" "$pkg_file" || exit 1 + productsign --sign "$CODE_SIGN_IDENTITY" "$pkg_file_unsigned" "$pkg_file" || exit 1 spctl --assess --type install "$pkg_file" || exit 1 shasum "$pkg_file" rm -rf "$pkg_dir_unsigned" "$pkg_file_unsigned" "$pkg_file_flattened"