summaryrefslogtreecommitdiff
path: root/Build/LinuxMkLibs.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Build/LinuxMkLibs.hs')
-rw-r--r--Build/LinuxMkLibs.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/Build/LinuxMkLibs.hs b/Build/LinuxMkLibs.hs
index d0900e5b6..6c89216bf 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