diff --git a/distribution/macos/create_macos_build_ava.sh b/distribution/macos/create_macos_build_ava.sh index 167b60791..a516c3c37 100755 --- a/distribution/macos/create_macos_build_ava.sh +++ b/distribution/macos/create_macos_build_ava.sh @@ -165,12 +165,7 @@ find "$DMG_FOLDER" -mindepth 1 -type f | while IFS= read -r src; do dst="/${src#"$DMG_FOLDER"/}" dmg-hfsplus "$UNCOMPRESSED_DMG" add "$src" "$dst" - - if [[ -x "$f" ]]; then - dmg-hfsplus "$UNCOMPRESSED_DMG" chmod "$dst" 0755 - else - dmg-hfsplus "$UNCOMPRESSED_DMG" chmod "$dst" 0644 - fi + dmg-hfsplus "$UNCOMPRESSED_DMG" chmod "$dst" 0755 done # Copy the symlink into a folder, then copy the folder over with symlink permissions. diff --git a/distribution/macos/create_macos_pr_build_ava.sh b/distribution/macos/create_macos_pr_build_ava.sh index 8e989e673..92f3d6efc 100644 --- a/distribution/macos/create_macos_pr_build_ava.sh +++ b/distribution/macos/create_macos_pr_build_ava.sh @@ -161,12 +161,7 @@ find "$DMG_FOLDER" -mindepth 1 -type f | while IFS= read -r src; do dst="/${src#"$DMG_FOLDER"/}" dmg-hfsplus "$UNCOMPRESSED_DMG" add "$src" "$dst" - - if [[ -x "$f" ]]; then - dmg-hfsplus "$UNCOMPRESSED_DMG" chmod "$dst" 0755 - else - dmg-hfsplus "$UNCOMPRESSED_DMG" chmod "$dst" 0644 - fi + dmg-hfsplus "$UNCOMPRESSED_DMG" chmod "$dst" 0755 done # Copy the symlink into a folder, then copy the folder over with symlink permissions.