diff options
| author | Adam Vandenberg | 2012-02-11 15:45:22 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-11 15:45:22 -0800 |
| commit | 453d566f0c8d79ad5f98cdc116deef868b9ce59e (patch) | |
| tree | faa706e4d784b4e0f8bb48f09f23b0872687830d /Library/Formula | |
| parent | cbdaca5d1fca77d5789dbfd36f916f459d64d752 (diff) | |
| download | homebrew-453d566f0c8d79ad5f98cdc116deef868b9ce59e.tar.bz2 | |
open-tyrian: fix quoting
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 |
