mirror of
https://github.com/libretro/RetroArch
synced 2025-01-01 12:11:47 +00:00
Don't unnecessarily sign iOS/tvOS cores/libraries
This commit is contained in:
parent
9d697fedcb
commit
13fc4cbda3
@ -55,15 +55,19 @@ IFS="
|
||||
# Loop through all items.
|
||||
for ITEM in $ITEMS;
|
||||
do
|
||||
echo "Signing '${ITEM}'"
|
||||
codesign --force --verbose --sign "${CODE_SIGN_IDENTITY_FOR_ITEMS}" "${ITEM}"
|
||||
RESULT=$?
|
||||
if [ "$RESULT" != 0 ] ; then
|
||||
echo "Failed to sign '${ITEM}'."
|
||||
IFS=$SAVED_IFS
|
||||
exit 1
|
||||
if codesign --display -r- "${ITEM}" | grep -q "${CODE_SIGN_IDENTITY_FOR_ITEMS}" ; then
|
||||
echo "Skipping '${ITEM}', already signed"
|
||||
else
|
||||
echo "Signing '${ITEM}'"
|
||||
codesign --force --verbose --sign "${CODE_SIGN_IDENTITY_FOR_ITEMS}" "${ITEM}"
|
||||
RESULT=$?
|
||||
if [ "$RESULT" != 0 ] ; then
|
||||
echo "Failed to sign '${ITEM}'."
|
||||
IFS=$SAVED_IFS
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Restore $IFS.
|
||||
IFS=$SAVED_IFS
|
||||
IFS=$SAVED_IFS
|
||||
|
Loading…
Reference in New Issue
Block a user