Sign the right file.
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 9 Nov 2013 19:22:42 +0000 (19:22 +0000)
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 9 Nov 2013 19:22:42 +0000 (19:22 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@53203 f5534014-38df-0310-8fa8-9805f1628bb7

packaging/macosx/osx-dmg.sh.in

index a24e50f932abbf32c2ed163fdf8b8d13c1b1ec1b..03cd5519efb455063ad7751435a4550371256092 100755 (executable)
@@ -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"