diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/open-tyrian.rb | 13 |
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 |
