From 439e1adbaa42af0cb7153b77a8b18d038d10cee4 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 17 Jun 2012 17:41:41 -0500 Subject: Avoid chdir in subshells The preferred "chdir for this step only" idiom is to use the block-form 'cd' method. Signed-off-by: Jack Nagel --- Library/Formula/macvim.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Library/Formula/macvim.rb') diff --git a/Library/Formula/macvim.rb b/Library/Formula/macvim.rb index 1d67cb2cd..42ef95951 100644 --- a/Library/Formula/macvim.rb +++ b/Library/Formula/macvim.rb @@ -58,7 +58,9 @@ class Macvim < Formula end # Reference: https://github.com/b4winckler/macvim/wiki/building - system "cd src/MacVim/icons && make getenvy" + cd 'src/MacVim/icons' do + system "make getenvy" + end system "make" -- cgit v1.2.3