aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/vim.rb
diff options
context:
space:
mode:
authorNicolas Hillegeer2014-04-01 23:01:25 +0200
committerJack Nagel2014-04-02 14:29:11 -0500
commit7ef9e76babe47c0398fae662a377ee7e2c8e71fe (patch)
treea8d38064b6de98e282ef9a4ccc87034de9e9b909 /Library/Formula/vim.rb
parentd57a1b364febf60a00d81265bbb8a081fbe92d46 (diff)
downloadhomebrew-7ef9e76babe47c0398fae662a377ee7e2c8e71fe.tar.bz2
vim: use true as found in $PATH, not absolute
This change makes us able to compile vim on both linux (linuxbrew) and OSX. Closes #28050. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/vim.rb')
-rw-r--r--Library/Formula/vim.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/vim.rb b/Library/Formula/vim.rb
index 23bae9af4..37c19a936 100644
--- a/Library/Formula/vim.rb
+++ b/Library/Formula/vim.rb
@@ -85,7 +85,7 @@ class Vim < Formula
# If stripping the binaries is not enabled, vim will segfault with
# statically-linked interpreters like ruby
# http://code.google.com/p/vim/issues/detail?id=114&thanks=114&ts=1361483471
- system "make", "install", "prefix=#{prefix}", "STRIP=/usr/bin/true"
+ system "make", "install", "prefix=#{prefix}", "STRIP=true"
bin.install_symlink "vim" => "vi" if build.include? "override-system-vi"
end