packer/website/content/partials/path/separator-note.mdx
Adrien Delorme a2124eb594
Tiny tweaks and fixes for the PowerShell provisioner (#11410)
* add docs
* fix potential bug
2021-11-23 12:34:26 +01:00

6 lines
401 B
Text

~> **Note:** If possible, try to always use a forward slash `/` as the path separator,
especially when dealing with relative paths. A backward slash `\` will work on
Windows and is the official Windows path separator, but when building from any
system that is not Windows, Packer will only treat slashes `/` as path
separators, and treat backslashes as plain text. Which could lead to pathing
errors.