Sign the right file.

svn path=/trunk/; revision=53203
This commit is contained in:
Gerald Combs 2013-11-09 19:22:42 +00:00
parent 970b0a0245
commit 9f163b787d
1 changed files with 1 additions and 1 deletions

View File

@ -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"