diff options
author | Joey Hess <joey@kitenet.net> | 2014-04-26 19:25:05 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-04-26 19:25:05 -0400 |
commit | c7999da69b039829acc3b7da8005224af5bf6ed8 (patch) | |
tree | b17c7d897d95503f1af66efc98e28da1179d798c /Utility/LinuxMkLibs.hs | |
parent | a885d67e97c63d8fff657f6eb8d503fd91b0b42c (diff) |
hlint
Diffstat (limited to 'Utility/LinuxMkLibs.hs')
-rw-r--r-- | Utility/LinuxMkLibs.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/LinuxMkLibs.hs b/Utility/LinuxMkLibs.hs index 76e6266dd..f4744fcb2 100644 --- a/Utility/LinuxMkLibs.hs +++ b/Utility/LinuxMkLibs.hs @@ -49,7 +49,7 @@ inTop top f = top ++ f - link to. Note that some of the libraries may not exist - (eg, linux-vdso.so) -} parseLdd :: String -> [FilePath] -parseLdd = catMaybes . map (getlib . dropWhile isSpace) . lines +parseLdd = mapMaybe (getlib . dropWhile isSpace) . lines where getlib l = headMaybe . words =<< lastMaybe (split " => " l) |