summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoey Hess2017-07-04 11:32:26 -0400
committerJoey Hess2017-07-04 11:32:26 -0400
commit07e007db294b7dcb22142811a49e2c65a2070a9b (patch)
tree8d95a953c2bd7dd78fc7c9fccd5560ad942fdc8e /src
parent77a2290d3ac81cbe5246e2ee76d2235619d33b39 (diff)
Bootstrap.clonedFrom: Fix bug that broke copying .git/config into chroot.
Diffstat (limited to 'src')
-rw-r--r--src/Propellor/Property/Bootstrap.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/Bootstrap.hs b/src/Propellor/Property/Bootstrap.hs
index 5678a865..c6abe6b6 100644
--- a/src/Propellor/Property/Bootstrap.hs
+++ b/src/Propellor/Property/Bootstrap.hs
@@ -83,7 +83,7 @@ clonedFrom reposource = case reposource of
-- configuration.
copygitconfig :: Property Linux
copygitconfig = property ("Propellor repo git config copied from outside the chroot") $ do
- let gitconfig = localdir <> ".git" <> "config"
+ let gitconfig = localdir </> ".git" </> "config"
cfg <- liftIO $ B.readFile gitconfig
exposeTrueLocaldir $ const $
liftIO $ B.writeFile gitconfig cfg