mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00

- atomic_write: close file before renaming to prevent error: 'Device or resource busy' - ensure_writable: preserve executable bit - new elf? and dynamic? methods
6 lines
117 B
Ruby
6 lines
117 B
Ruby
if OS.mac?
|
|
require "extend/os/mac/extend/pathname"
|
|
elsif OS.linux?
|
|
require "extend/os/linux/extend/pathname"
|
|
end
|