deploy_tool/main.cpp fix

This commit is contained in:
2020-09-15 11:34:17 +03:00
parent 78731bd971
commit e4e4cc7c36

View File

@@ -318,7 +318,7 @@ void copyWildcard(const PIString & from, const PIString & to) {
PIFile::FileInfo fi; fi.path = from;
system(("robocopy \"" + fi.dir() + "\" \"" + to + "\" \"" + fi.name() + "\" /NJH /NJS /NP /NDL /NS /NC /NFL 1> NUL").data());
#else
system(cmd_copy + from + " \"" + to + "/\"" + cmd_suffix);
system((cmd_copy + from + " \"" + to + "/\"" + cmd_suffix).data());
#endif
}