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 :: String -> IO Bool
runBrowser url = boolSystem cmd [Param url] runBrowser url = boolSystem cmd [Param url]
where where
#if MAC #if OSX
cmd = "open" cmd = "open"
#else #else
cmd = "xdg-open" cmd = "xdg-open"