summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Bootstrap.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor/Property/Bootstrap.hs')
-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 68506918..5f64fd69 100644
--- a/src/Propellor/Property/Bootstrap.hs
+++ b/src/Propellor/Property/Bootstrap.hs
@@ -64,7 +64,7 @@ clonedFrom reposource = property ("Propellor repo cloned from " ++ sourcedesc) $
-- mounted from outside the chroot, deleting
-- it after unmounting in unshare will remove
-- the bind mount outside the unshare.
- , "(cd " ++ tmpclone ++ " && tar c) | (cd " ++ localdir ++ " && tar x)"
+ , "(cd " ++ tmpclone ++ " && tar c .) | (cd " ++ localdir ++ " && tar x)"
, "rm -rf " ++ tmpclone
]
, assumeChange $ exposeTrueLocaldir $ const $