summaryrefslogtreecommitdiffstats
path: root/chrome/tools/build/mac/keystone_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/tools/build/mac/keystone_install.sh')
-rwxr-xr-xchrome/tools/build/mac/keystone_install.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/tools/build/mac/keystone_install.sh b/chrome/tools/build/mac/keystone_install.sh
index 386cf62..40d3a50 100755
--- a/chrome/tools/build/mac/keystone_install.sh
+++ b/chrome/tools/build/mac/keystone_install.sh
@@ -304,5 +304,10 @@ fi
chmod -R "${CHMOD_MODE}" "${DEST}" >& /dev/null
+# On the Mac, or at least on HFS+, symbolic link permissions are significant,
+# but chmod -R and -h can't be used together on the Mac. Do another pass to
+# fix the permissions on any symbolic links.
+find "${DEST}" -type l -exec chmod -h "${CHMOD_MODE}" {} \; >& /dev/null
+
# Great success!
exit 0