aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/sshuttle.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-07 11:20:52 -0700
committerAdam Vandenberg2012-10-27 19:28:49 -0700
commitce2f7e1bd664e7260e48ffa37bf3fc909232a555 (patch)
tree1a9b07793f59951405a7ee7dbc15a1cf5145229e /Library/Formula/sshuttle.rb
parentb40e5323ca055bf890406b634c97fccef49d9c68 (diff)
downloadhomebrew-ce2f7e1bd664e7260e48ffa37bf3fc909232a555.tar.bz2
Use script helpers
Diffstat (limited to 'Library/Formula/sshuttle.rb')
-rw-r--r--Library/Formula/sshuttle.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/Library/Formula/sshuttle.rb b/Library/Formula/sshuttle.rb
index 1b9a59f4b..6c5590c9b 100644
--- a/Library/Formula/sshuttle.rb
+++ b/Library/Formula/sshuttle.rb
@@ -9,9 +9,6 @@ class Sshuttle < Formula
def install
libexec.install Dir['*']
- (bin+'sshuttle').write <<-EOS.undent
- #!/bin/bash
- exec #{libexec}/sshuttle "$@"
- EOS
+ bin.write_exec_script libexec/'sshuttle'
end
end