fix OSX open call

This commit is contained in:
Joey Hess 2012-07-26 12:59:40 -04:00
parent 95f4b192f0
commit 2f775ef3e3

View file

@ -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"