deal with uname -o newline
This commit is contained in:
parent
abbe5fb516
commit
6e862f47dd
1 changed files with 1 additions and 1 deletions
|
@ -11,4 +11,4 @@ import Common
|
|||
|
||||
-- Detect when the Linux build is running on Android, eg in termux.
|
||||
osAndroid :: IO Bool
|
||||
osAndroid = ("Android" == ) <$> readProcess "uname" ["-o"]
|
||||
osAndroid = ("Android" `isPrefixOf` ) <$> readProcess "uname" ["-o"]
|
||||
|
|
Loading…
Add table
Reference in a new issue