diff options
author | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2021-09-01 17:05:22 +0200 |
---|---|---|
committer | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2021-09-01 17:05:26 +0200 |
commit | aed92e533a96300b18d97e3ae02abfb926d7e6b1 (patch) | |
tree | 9a2dbf988d3f66733e1f4f429ce0134a2f1b5647 /tools | |
parent | 75b6ea339a4fee8286493a40fe9b6af0ab63d822 (diff) |
make extra extra extra EXTRA sure the goddamn libraries are writable
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/mac-libs.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/mac-libs.rb b/tools/mac-libs.rb index a66b409..534b003 100755 --- a/tools/mac-libs.rb +++ b/tools/mac-libs.rb @@ -102,6 +102,8 @@ def fixup_libs(prog, orig_path) throw "fixup_libs: #{prog} doesn't exist" unless File.exist? prog libs = get_load_libs(prog).map { |it| expand_load_path(orig_path, it) }.select { |it| not system_lib? it[0] } + + FileUtils.chmod("u+w", prog) strip prog libs.each do |lib| |