diff options
Diffstat (limited to 'chrome/tools/build/mac/keystone_install.sh')
-rwxr-xr-x | chrome/tools/build/mac/keystone_install.sh | 5 |
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 |