Skip to content
Snippets Groups Projects
Commit dbb7f5bc authored by Nikolay Panko's avatar Nikolay Panko
Browse files

[-] Removed extra slashes in paths

parent 43db610d
No related branches found
No related tags found
2 merge requests!1867Bugfix 12422,!1858hotfix-15147
......@@ -114,11 +114,11 @@ std::string getNodeConfigPath(std::string basepath){
#endif
#ifdef __linux__
return "/opt/cellframe-node/";
return "/opt/cellframe-node";
#endif
#ifdef __APPLE__
return "/Library/Application Support/CellframeNode/";
return "/Library/Application Support/CellframeNode";
#endif
......@@ -130,7 +130,7 @@ std::string getNodeConfigPath(std::string basepath){
std::wstring path;
GetStringRegKey(hKey, L"Common Documents", path, L"");
std::string stdpath(path.begin(),path.end());
return (std::filesystem::path{stdpath}/"cellframe-node/").string();
return (std::filesystem::path{stdpath}/"cellframe-node").string();
#endif
}
......
......@@ -7,7 +7,7 @@
# Predefined variables:
# ${HOST_OS} -> Linux | Windows | Macos
# ${HOSTNAME} -> hostname of a machine
# ${CONFIGS_PATH} -> /opt/cellframe-node/ for linux,
# ${CONFIGS_PATH} -> /opt/cellframe-node for linux,
# Common Documents (usually C:\Users\Public\Documents\cellframe-node\) for Windows
#
# fromtemplate: create and populate config from "share/configs" templates
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment