Sign all of the executables.

svn path=/trunk/; revision=52663
This commit is contained in:
Gerald Combs 2013-10-17 22:34:38 +00:00
parent e746a62459
commit 98f3bb5f15
1 changed files with 9 additions and 2 deletions

View File

@ -580,8 +580,15 @@ else
fi
if [ -n "$CODE_SIGN_IDENTITY" ] ; then
echo -e "Signing $package"
codesign --sign "$CODE_SIGN_IDENTITY" --verbose "$package" || exit 1
echo -n "Signing executables:"
for file in $pkgbin/* ; do
echo -n " $file"
codesign --sign "$CODE_SIGN_IDENTITY" --verbose "$file"
codesign --verify --verbose "$file" || exit 1
done
echo
echo "Signing $package"
codesign --sign "$CODE_SIGN_IDENTITY" --verbose "$package"
codesign --verify --verbose "$package" || exit 1
fi