aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/macvim.rb
diff options
context:
space:
mode:
authorJack Nagel2012-06-17 17:41:41 -0500
committerJack Nagel2012-06-17 17:55:53 -0500
commit439e1adbaa42af0cb7153b77a8b18d038d10cee4 (patch)
tree1c6bed9fdcc6a70d9099c702f0de91dffd8fa787 /Library/Formula/macvim.rb
parent57449d28243f0b99511053701518823b8ef61361 (diff)
downloadhomebrew-439e1adbaa42af0cb7153b77a8b18d038d10cee4.tar.bz2
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 <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/macvim.rb')
-rw-r--r--Library/Formula/macvim.rb4
1 files changed, 3 insertions, 1 deletions
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"