From 3f403eb9b99181da0d0ab66d5ee6fc748f7fcf9c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 30 Apr 2018 10:00:23 +0200 Subject: Normalize package path in case location is ./ --- bpkg/rep-fetch.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bpkg/rep-fetch.cxx') 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 (*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"); -- cgit v1.1