diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index fe8b2ce7fc..2cd6db0448 100644 --- a/Library/Homebrew/extend/pathname.rb +++ b/Library/Homebrew/extend/pathname.rb @@ -390,8 +390,6 @@ class Pathname #!/bin/bash exec "#{target}" "$@" EOS - # +x here so this will work during post-install as well - (self+target.basename()).chmod 0644 end end @@ -422,8 +420,6 @@ class Pathname #!/bin/bash exec java #{java_opts} -jar #{target_jar} "$@" EOS - # +x here so this will work during post-install as well - (self+script_name).chmod 0644 end def install_metafiles from=nil