From 70269285cd8b1be2b3931836f7120362ae457d5e Mon Sep 17 00:00:00 2001 From: lamech Date: Mon, 29 Jul 2019 13:06:07 +0000 Subject: [PATCH] Eliminate hardcoding of hidden subdirs we want copied for testing --- features/bootstrap/Drumkit/DrumkitContext.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/features/bootstrap/Drumkit/DrumkitContext.php b/features/bootstrap/Drumkit/DrumkitContext.php index 7d88bcf..62dc38b 100644 --- a/features/bootstrap/Drumkit/DrumkitContext.php +++ b/features/bootstrap/Drumkit/DrumkitContext.php @@ -256,9 +256,7 @@ public function iBootstrapDrumkit() public function iBootstrapThisCode() { $this->iAmInATemporaryDirectory(); - $this->iRun("cp -r " . $this->getOrigDir() . "/* ."); - $this->iRun("cp -r " . $this->getOrigDir() . "/.mk ."); - $this->iRun("cp -r " . $this->getOrigDir() . "/.git ."); + $this->iRun("bash -c 'shopt -s dotglob && cp -r " . $this->getOrigDir() . "/* .'"); } /**