aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-05-12 10:02:19 -0500
committerJack Nagel2014-05-12 10:02:19 -0500
commitf919715be6ee9cc2ff198653feb222c061976dd0 (patch)
treeeb9ed3ecbadce7a06e7a8fd3c8d012a85803c265 /Library
parent11ecf33fd81566032648fbea575a1be0fe780767 (diff)
downloadhomebrew-f919715be6ee9cc2ff198653feb222c061976dd0.tar.bz2
encfs: do not depend on superenv implementation details
Diffstat (limited to 'Library')
-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