aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/os
diff options
context:
space:
mode:
authorMaxim Belkin2017-11-07 14:18:25 -0600
committerMaxim Belkin2017-11-07 14:18:25 -0600
commitde0b93f912f014155423ed9a679dcd99c40f2622 (patch)
tree76f2813a755798b3b7159abb0d9e5c97dac8cd07 /Library/Homebrew/os
parent0cec599b28c23fb6bade4202fd455d54c07dfd27 (diff)
downloadbrew-de0b93f912f014155423ed9a679dcd99c40f2622.tar.bz2
pathname: improvements, cleanups, and new methods
- atomic_write: close file before renaming to prevent error: 'Device or resource busy' - ensure_writable: preserve executable bit - new elf? and dynamic? methods
Diffstat (limited to 'Library/Homebrew/os')
-rw-r--r--Library/Homebrew/os/mac.rb1
-rw-r--r--Library/Homebrew/os/mac/pathname.rb5
2 files changed, 0 insertions, 6 deletions
diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb
index cb4141f48..a5e12c924 100644
--- a/Library/Homebrew/os/mac.rb
+++ b/Library/Homebrew/os/mac.rb
@@ -3,7 +3,6 @@ require "development_tools"
require "os/mac/version"
require "os/mac/xcode"
require "os/mac/xquartz"
-require "os/mac/pathname"
require "os/mac/sdk"
require "os/mac/keg"
diff --git a/Library/Homebrew/os/mac/pathname.rb b/Library/Homebrew/os/mac/pathname.rb
deleted file mode 100644
index 5fd59e1e7..000000000
--- a/Library/Homebrew/os/mac/pathname.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-require "os/mac/mach"
-
-class Pathname
- include MachOShim
-end