summaryrefslogtreecommitdiff
path: root/Utility
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-01-09 11:58:38 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-01-09 11:58:38 -0400
commiteddcd59331948a90b3d41354e9ac924fedfb80f5 (patch)
treedec4c3c84a4db173ef5e953ca3e87da6b85b71db /Utility
parent416ab51b85233d2478a2a9e6598cd1fc48f23d03 (diff)
fix build failure
Diffstat (limited to 'Utility')
-rw-r--r--Utility/LinuxMkLibs.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/LinuxMkLibs.hs b/Utility/LinuxMkLibs.hs
index 6074ba261..2482a9bca 100644
--- a/Utility/LinuxMkLibs.hs
+++ b/Utility/LinuxMkLibs.hs
@@ -36,7 +36,7 @@ installLib installfile top lib = ifM (doesFileExist lib)
checksymlink f = whenM (isSymbolicLink <$> getSymbolicLinkStatus (inTop top f)) $ do
l <- readSymbolicLink (inTop top f)
let absl = absPathFrom (takeDirectory f) l
- let target = relPathDirToFile (takeDirectory f) absl
+ target <- relPathDirToFile (takeDirectory f) absl
installfile top absl
nukeFile (top ++ f)
createSymbolicLink target (inTop top f)