diff options
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 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) |