aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/macvim.rb
diff options
context:
space:
mode:
authorJack Nagel2015-03-10 21:55:03 -0400
committerJack Nagel2015-03-10 21:55:03 -0400
commitbf57b522257a2924347934b4b4ec0af3c46c7bde (patch)
tree8f622645c618a15dfb12e06f640cf3ed5355ac7e /Library/Formula/macvim.rb
parent14fc4411c8ebea423c5cbc999af967e8e6f4d2fe (diff)
downloadhomebrew-bf57b522257a2924347934b4b4ec0af3c46c7bde.tar.bz2
Avoid using internal extension methods in formulae
Diffstat (limited to 'Library/Formula/macvim.rb')
-rw-r--r--Library/Formula/macvim.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/macvim.rb b/Library/Formula/macvim.rb
index 10945f396..137daddb5 100644
--- a/Library/Formula/macvim.rb
+++ b/Library/Formula/macvim.rb
@@ -69,8 +69,8 @@ class Macvim < Formula
import distutils.sysconfig
print distutils.sysconfig.get_config_var("PYTHONFRAMEWORKPREFIX")
EOS
- framework_prefix = `python -c '#{framework_script}'`.chuzzle
- if framework_prefix && framework_prefix != "/System/Library/Frameworks"
+ framework_prefix = `python -c '#{framework_script}'`.strip
+ unless framework_prefix.empty? || framework_prefix == "/System/Library/Frameworks"
ENV.prepend "LDFLAGS", "-F#{framework_prefix}"
ENV.prepend "CFLAGS", "-F#{framework_prefix}"
end