diff options
Diffstat (limited to 'crawl-ref/source/mac/crawl')
-rwxr-xr-x | crawl-ref/source/mac/crawl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/crawl-ref/source/mac/crawl b/crawl-ref/source/mac/crawl new file mode 100755 index 0000000000..cbe52f0332 --- /dev/null +++ b/crawl-ref/source/mac/crawl @@ -0,0 +1,11 @@ +#!/usr/bin/perl + +# This is utter and complete hackery. But I'm tired +# of building the mac distribution by hand. + +$script= $0; +$script =~ /(.*)\/MacOS\/(\w+)/; +$scriptdir = $1; +$resdir = $scriptdir . "/Resources/"; +$executable = $resdir . "crawl"; +system "/usr/bin/open /Applications/Utilities/Terminal.app $executable"; |