aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bpkg/rep-fetch.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/bpkg/rep-fetch.cxx b/bpkg/rep-fetch.cxx
index af07cb5..452392e 100644
--- a/bpkg/rep-fetch.cxx
+++ b/bpkg/rep-fetch.cxx
@@ -210,8 +210,9 @@ namespace bpkg
};
dir_path d (repo_dir / path_cast<dir_path> (*sm.location));
- path f (d / manifest_file);
+ d.normalize (); // In case location is './'.
+ path f (d / manifest_file);
if (!exists (f))
failure ("no manifest file");