mirror of https://github.com/hashicorp/packer
It appears that the desired effect was to support
src = "dir" -> dest/dir
src = "dir/" -> dest
but cp -R already handles this, provided the trailing slash does not
get consumed by the shell.
The wildcard causes problems when multiple files match the
shell glob, e.g.
UploadDir("/tmp", "./salt*", [])
where my working dir contains
- salt
- salt-foo
will error.
pull/1111/head
parent
5a4a5842c2
commit
be5adb92b5
Loading…
Reference in new issue