Fix the separators
This commit is contained in:
parent
729611cc16
commit
d63cb0943f
1 changed files with 2 additions and 2 deletions
|
@ -59,8 +59,8 @@ void CreateDirectory(std::string output_path)
|
||||||
// Creating the right directory structure
|
// Creating the right directory structure
|
||||||
auto p = path(output_path);
|
auto p = path(output_path);
|
||||||
|
|
||||||
// Deal with a case where directory ends with a / or \\
|
// Deal with a case where directory ends with a \\ or /
|
||||||
p.remove_trailing_separator();
|
p = p.remove_trailing_separator();
|
||||||
|
|
||||||
if (!boost::filesystem::exists(p))
|
if (!boost::filesystem::exists(p))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue