Commit 84924fc4 authored by Lefebvre, Jordan's avatar Lefebvre, Jordan
Browse files

Merge branch 'get-path-patch' into 'master'

get_paths windows patch

See merge request !102
parents 356b9ac2 c671fd85
Pipeline #135800 passed with stages
in 19 minutes and 17 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