From 453d566f0c8d79ad5f98cdc116deef868b9ce59e Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 11 Feb 2012 15:45:22 -0800 Subject: open-tyrian: fix quoting --- Library/Formula/open-tyrian.rb | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3