From bd106e22f1e7e7253cbf111c9a8c840713780ba4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 24 Dec 2013 17:42:48 -0400 Subject: [PATCH] clean up --- Build/LinuxMkLibs.hs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Build/LinuxMkLibs.hs b/Build/LinuxMkLibs.hs index d0900e5b65..6c89216bf9 100644 --- a/Build/LinuxMkLibs.hs +++ b/Build/LinuxMkLibs.hs @@ -106,9 +106,7 @@ installFile top f = do createDirectoryIfMissing True destdir void $ copyFileExternal f destdir where - -- Note: This is an absolute, not a relative, directory. - dir = parentDir f - destdir = inTop top dir + destdir = inTop top $ parentDir f -- Note that f is not relative, so cannot use inTop :: FilePath -> FilePath -> FilePath