fix bug introduced by 5221
This commit is contained in:
parent
0b4e8474e2
commit
ef858857e4
|
@ -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…
Reference in New Issue