Commit c671fd85 authored by Lefebvre, Jordan's avatar Lefebvre, Jordan
Browse files

Fixed get_paths situation where Windows directory path doesn't end with '/'.

parent 356b9ac2
Pipeline #135799 passed with stages
in 19 minutes and 32 seconds
......@@ -292,6 +292,11 @@ bool get_paths(const std::string &spec, std::vector<std::string> &paths,
(radix::dir_exists(spec)) ? spec : radix::dirname(spec);
if (native_dir.compare(".") != 0)
{
// check last character to ensure '/'
if (*native_dir.end() != '/')
{
native_dir = native_dir + "/";
}
for (size_t i = 0; i < paths.size(); ++i)
{
radix_tagged_line("Concatenating: " << native_dir << " and " << paths[i]);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment