summaryrefslogtreecommitdiff
path: root/Build/LinuxMkLibs.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-12-24 17:42:48 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-12-24 17:42:48 -0400
commitc6bc28005fdf646b325ac21229d03e1f75a1e16c (patch)
tree47cd2a0a52cbce78fc65c7279c1e3255da986951 /Build/LinuxMkLibs.hs
parentd25b88cdaed86c6d475a147d2fbdf576a63bb12d (diff)
clean up
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