aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-11 15:45:22 -0800
committerAdam Vandenberg2012-02-11 15:45:22 -0800
commit453d566f0c8d79ad5f98cdc116deef868b9ce59e (patch)
treefaa706e4d784b4e0f8bb48f09f23b0872687830d /Library/Formula
parentcbdaca5d1fca77d5789dbfd36f916f459d64d752 (diff)
downloadhomebrew-453d566f0c8d79ad5f98cdc116deef868b9ce59e.tar.bz2
open-tyrian: fix quoting
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/open-tyrian.rb13
1 files changed, 4 insertions, 9 deletions
diff --git a/Library/Formula/open-tyrian.rb b/Library/Formula/open-tyrian.rb
index 4bca6b9e2..46804f849 100644
--- a/Library/Formula/open-tyrian.rb
+++ b/Library/Formula/open-tyrian.rb
@@ -18,15 +18,10 @@ class OpenTyrian < Formula
system "make release"
libexec.install "opentyrian"
- # Use a startup script to find the game data
- (bin+'opentyrian').write startup_script
- end
-
- def startup_script
-<<-END
-#!/bin/bash
-#{libexec}/opentyrian --data=#{libexec} $*
-END
+ (bin+'opentyrian').write <<-END.undent
+ #!/bin/bash
+ "#{libexec}/opentyrian" --data="#{libexec}" "$@"
+ END
end
def caveats