diff --git a/boss/cli/template.py b/boss/cli/template.py index d7da689..6d2704d 100644 --- a/boss/cli/template.py +++ b/boss/cli/template.py @@ -259,7 +259,8 @@ def _walk_path(self, path): def copy(self, dest_basedir): self._populate_vars() - dest_basedir = fs.abspath(dest_basedir) + dest_basedir = fs.abspath(dest_basedir).replace("\\", "\\\\") + basedir = str(self.basedir).replace("\\", "\\\\") # first handle local files for tmpl_path in self._walk_path(self.basedir):