From 7ef9e76babe47c0398fae662a377ee7e2c8e71fe Mon Sep 17 00:00:00 2001 From: Nicolas Hillegeer Date: Tue, 1 Apr 2014 23:01:25 +0200 Subject: 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 --- Library/Formula/vim.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3