Skip to content

Commit 8064431

Browse files
staticfloatKristofferC
authored andcommitted
Fix macos codesign workflow (#39152)
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` (cherry picked from commit f813257)
1 parent 7def926 commit 8064431

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/mac/app/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ dmg/$(APP_NAME): startup.applescript julia.icns
5252
find $@/Contents/Resources/julia -type f -exec chmod -w {} \;
5353
if [ -n "$$MACOS_CODESIGN_IDENTITY" ]; then \
5454
echo "Codesigning with identity $$MACOS_CODESIGN_IDENTITY"; \
55-
MACHO_FILES=$$(find "$@" -type f -perm -755 | cut -d: -f1); \
55+
MACHO_FILES=$$(find "$@" -type f -perm -0111 | cut -d: -f1); \
5656
for f in $${MACHO_FILES}; do \
5757
echo "Codesigning $${f}..."; \
5858
codesign -s "$$MACOS_CODESIGN_IDENTITY" --option=runtime --entitlements Entitlements.plist -vvv --timestamp --deep --force "$${f}"; \

0 commit comments

Comments
 (0)