summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2019-11-14 16:34:13 -0400
committerJoey Hess <joeyh@joeyh.name>2019-11-14 16:34:13 -0400
commit5cc8cfe57b7d871af293e214c74d3c22048629f7 (patch)
treea91a6ec52ca7b5c1fc1736c0d812f76269ebd086
parentf037ad92ec5b73543a0527de61e6f6f0fcbb821b (diff)
oops I the filename
-rw-r--r--Build/Standalone.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/Standalone.hs b/Build/Standalone.hs
index c0a867d0a5..88cc69facb 100644
--- a/Build/Standalone.hs
+++ b/Build/Standalone.hs
@@ -69,7 +69,7 @@ installGitLibs topdir = do
if takeFileName linktarget == linktarget
then cp f destf
else do
- let linktarget' = progDir topdir
+ let linktarget' = progDir topdir </> takeFileName linktarget
unlessM (doesFileExist linktarget') $ do
createDirectoryIfMissing True (takeDirectory linktarget')
L.readFile f >>= L.writeFile linktarget'