From de0b93f912f014155423ed9a679dcd99c40f2622 Mon Sep 17 00:00:00 2001 From: Maxim Belkin Date: Tue, 7 Nov 2017 14:18:25 -0600 Subject: 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 --- Library/Homebrew/os/mac.rb | 1 - Library/Homebrew/os/mac/pathname.rb | 5 ----- 2 files changed, 6 deletions(-) delete mode 100644 Library/Homebrew/os/mac/pathname.rb (limited to 'Library/Homebrew/os') 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 -- cgit v1.2.3