From 07e007db294b7dcb22142811a49e2c65a2070a9b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 4 Jul 2017 11:32:26 -0400 Subject: Bootstrap.clonedFrom: Fix bug that broke copying .git/config into chroot. --- debian/changelog | 2 ++ src/Propellor/Property/Bootstrap.hs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index be8ae96e..29eb985e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,8 @@ propellor (4.0.7) UNRELEASED; urgency=medium exposed. * Bugfix: Apache.httpsVirtualHost' must create ssl/hn/ dir earlier Thanks, Sean Whitton. + * Bootstrap.clonedFrom: Fix bug that broke copying .git/config into + chroot. -- Joey Hess Tue, 20 Jun 2017 10:55:37 -0400 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 -- cgit v1.3-2-g0d8e