aboutsummaryrefslogtreecommitdiff
path: root/butl/process.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'butl/process.cxx')
-rw-r--r--butl/process.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/butl/process.cxx b/butl/process.cxx
index 9bb0ea2..5c9a0f0 100644
--- a/butl/process.cxx
+++ b/butl/process.cxx
@@ -281,13 +281,13 @@ namespace butl
for (size_t b (0), e (paths.find (traits::path_separator));
b != string::npos;)
{
- path p (string (paths, b, e != string::npos ? e - b : e));
+ dir_path p (string (paths, b, e != string::npos ? e - b : e));
// Empty path (i.e., a double colon or a colon at the beginning or end
// of PATH) means search in the current dirrectory.
//
if (p.empty ())
- p = path (".");
+ p = dir_path (".");
path dp (p / f);