This commit is contained in:
https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus 2012-07-26 11:24:10 +00:00 committed by admin
parent 587fe27951
commit 5457303c1c

View file

@ -0,0 +1,19 @@
Utility/WebApp.hs, didn't quite have the right definition to use 'open' instead of 'xdg-open' on OSX, the follow fixes that
<pre>
diff --git a/Utility/WebApp.hs b/Utility/WebApp.hs
index 6936c66..0593dda 100644
--- a/Utility/WebApp.hs
+++ b/Utility/WebApp.hs
@@ -42,7 +42,7 @@ localhost = "localhost"
runBrowser :: String -> IO Bool
runBrowser url = boolSystem cmd [Param url]
where
-#if MAC
+#if OSX
cmd = "open"
#else
cmd = "xdg-open"
</pre>
I guess I should really for the repo and submit a stream of minor changes :P, @joeyh please let me know if you're getting annoyed with copy and pasting the small fixes from the bug/forums section.