aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/hadoop.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/hadoop.rb')
-rw-r--r--Library/Formula/hadoop.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/hadoop.rb b/Library/Formula/hadoop.rb
index ea74beeac..73631e878 100644
--- a/Library/Formula/hadoop.rb
+++ b/Library/Formula/hadoop.rb
@@ -7,9 +7,8 @@ class Hadoop < Formula
def shim_script target
<<-EOS.undent
- #!/usr/bin/env bash
- cd #{libexec}/bin
- ./#{target} $*
+ #!/bin/bash
+ exec #{libexec}/bin/#{target} $*
EOS
end