aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-11-30 16:50:26 +0100
committerMartin Ridgers <[email protected]>2021-12-02 11:35:46 +0100
commit378e849121846d33370042ea26aefcb6b9a4996b (patch)
tree3484dd4c90f458faf2a6dd406a97dc516b1074fb
parentDo not block when trying to lock a lock file (POSIX) (diff)
downloadzen-378e849121846d33370042ea26aefcb6b9a4996b.tar.xz
zen-378e849121846d33370042ea26aefcb6b9a4996b.zip
Cross-platform path-to-utf8 conversion
-rw-r--r--zen/cmds/deploy.cpp3
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)
{