summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mac/crawl
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/mac/crawl')
-rwxr-xr-xcrawl-ref/source/mac/crawl11
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";