aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/encfs.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/encfs.rb b/Library/Formula/encfs.rb
index f31b2522a..2ac5a4d81 100644
--- a/Library/Formula/encfs.rb
+++ b/Library/Formula/encfs.rb
@@ -40,8 +40,8 @@ class Encfs < Formula
end
# Adapt to changes in recent Xcode by making local copy of endian-ness definitions
- system "mkdir encfs/sys"
- system "cp \"$HOMEBREW_SDKROOT/usr/include/sys/_endian.h\" encfs/sys/endian.h"
+ mkdir "encfs/sys"
+ cp "#{MacOS.sdk_path}/usr/include/sys/_endian.h", "encfs/sys/endian.h"
if build.stable?
# Fix runtime "dyld: Symbol not found" errors