diff options
| author | Martin Ridgers <[email protected]> | 2021-11-30 16:50:26 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-12-02 11:35:46 +0100 |
| commit | 378e849121846d33370042ea26aefcb6b9a4996b (patch) | |
| tree | 3484dd4c90f458faf2a6dd406a97dc516b1074fb | |
| parent | Do not block when trying to lock a lock file (POSIX) (diff) | |
| download | zen-378e849121846d33370042ea26aefcb6b9a4996b.tar.xz zen-378e849121846d33370042ea26aefcb6b9a4996b.zip | |
Cross-platform path-to-utf8 conversion
| -rw-r--r-- | zen/cmds/deploy.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zen/cmds/deploy.cpp b/zen/cmds/deploy.cpp index d60392dd5..10808d063 100644 --- a/zen/cmds/deploy.cpp +++ b/zen/cmds/deploy.cpp @@ -2,6 +2,7 @@ #include "deploy.h" +#include <zencore/filesystem.h> #include <zencore/logging.h> #include <zencore/string.h> @@ -58,7 +59,7 @@ DeployCommand::Run(const ZenCliOptions& GlobalOptions, int argc, char** argv) } zen::ExtendableStringBuilder<128> Path8; - zen::WideToUtf8(ToPath.c_str(), Path8); + zen::PathToUtf8(ToPath, Path8); if (IsTargetNew == false && m_IsClean) { |