Merge pull request #5251 from hashicorp/fix_5243

fix bug introduced by 5221
pull/5259/head
Megan Marsh 9 years ago committed by GitHub
commit df5f946927

@ -173,7 +173,7 @@ func (c *Communicator) UploadDir(dst string, src string, exclude []string) error
// Make the directory, then copy into it
cmd := &packer.RemoteCmd{
Command: fmt.Sprintf("set -e; mkdir -p %s; command cp -R %s/ %s",
Command: fmt.Sprintf("set -e; mkdir -p %s; command cp -R %s/. %s",
containerDst, containerSrc, containerDst),
}
if err := c.Start(cmd); err != nil {

Loading…
Cancel
Save