summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Rodriguez <ruben@gnu.org>2015-03-09 21:18:18 +0100
committerRuben Rodriguez <ruben@gnu.org>2015-03-09 21:18:18 +0100
commit0d17f6aeab217192675591b771f472802ae52e3d (patch)
treeb77af745da49ee4c183225724c6164c0d2ad5807
parent5a5a0acd3b2fc94993ca5e207004492fff839b51 (diff)
Fix output permissions after mac build
-rwxr-xr-xmakeicecat4
1 files changed, 4 insertions, 0 deletions
diff --git a/makeicecat b/makeicecat
index eb378cb..2cce3d2 100755
--- a/makeicecat
+++ b/makeicecat
@@ -468,6 +468,10 @@ mkisofs -D -V "\$6" -no-pad -R -apple -o /tmp/icecat-uncompressed.dmg -path-list
dmg dmg /tmp/icecat-uncompressed.dmg \$4
rm /tmp/icecat-uncompressed.dmg
+
+find . -executable -exec chmod 755 {} \;
+find . ! -executable -exec chmod 644 {} \;
+find . -type d -exec chmod 755 {} \;
EOF
###############################################################################