Skip to content

Commit

Permalink
Fix macos codesign workflow (JuliaLang#39152)
Browse files Browse the repository at this point in the history
We changed the permissions on executable files which caused this `find`
to not find any of the actual binaries that we need to sign.  Change it
to instead find anything with any executable permissions set, rather
than ones with exactly the permissions `0755`
  • Loading branch information
staticfloat authored Jan 15, 2021
1 parent b9f115f commit f813257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/mac/app/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ dmg/$(APP_NAME): startup.applescript julia.icns
find $@/Contents/Resources/julia -type f -exec chmod -w {} \;
if [ -n "$$MACOS_CODESIGN_IDENTITY" ]; then \
echo "Codesigning with identity $$MACOS_CODESIGN_IDENTITY"; \
MACHO_FILES=$$(find "$@" -type f -perm -755 | cut -d: -f1); \
MACHO_FILES=$$(find "$@" -type f -perm -0111 | cut -d: -f1); \
for f in $${MACHO_FILES}; do \
echo "Codesigning $${f}..."; \
codesign -s "$$MACOS_CODESIGN_IDENTITY" --option=runtime --entitlements Entitlements.plist -vvv --timestamp --deep --force "$${f}"; \
Expand Down

0 comments on commit f813257

Please sign in to comment.