From 8ecbbe903758d19c347791c809f88350124cb0c4 Mon Sep 17 00:00:00 2001 From: Ben P Date: Thu, 11 Aug 2016 11:27:56 -0700 Subject: [PATCH] backticks instead of $() for csh compatibility --- builder/docker/communicator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/docker/communicator.go b/builder/docker/communicator.go index aa048a1f4..dba50f7a5 100644 --- a/builder/docker/communicator.go +++ b/builder/docker/communicator.go @@ -179,7 +179,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; cd %s; command cp -R $(ls -A .) %s", + Command: fmt.Sprintf("set -e; mkdir -p %s; cd %s; command cp -R `ls -A .` %s", containerDst, containerSrc, containerDst), } if err := c.Start(cmd); err != nil {