From 982916a05ab73f8ca113d45a6ddabcd09f481de5 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 11 Feb 2019 22:22:43 +0300 Subject: Implement git repository working tree fix up for package checkout on Windows --- bpkg/rep-fetch.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bpkg/rep-fetch.cxx') diff --git a/bpkg/rep-fetch.cxx b/bpkg/rep-fetch.cxx index b64bbe2..0c2ed89 100644 --- a/bpkg/rep-fetch.cxx +++ b/bpkg/rep-fetch.cxx @@ -313,7 +313,7 @@ namespace bpkg dir_path sd (repository_state (rl)); auto_rmdir rm (temp_dir / sd); - dir_path& td (rm.path); + const dir_path& td (rm.path); if (exists (td)) rm_r (td); -- cgit v1.1