From 4baebfcd64066c94a2a814d784f0973ef5ee9b6a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 1 Dec 2020 14:24:47 +0200 Subject: Add clarifying comment --- libbuild2/install/rule.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libbuild2') diff --git a/libbuild2/install/rule.cxx b/libbuild2/install/rule.cxx index d4921ae..388400a 100644 --- a/libbuild2/install/rule.cxx +++ b/libbuild2/install/rule.cxx @@ -1247,8 +1247,9 @@ namespace build2 // Clean up empty leading directories (in reverse). // - // Note that we are using the leading directory (if there is one) - // for the clean up information (sudo, etc). + // Note that we are using the leading directory (if there is one) for + // the clean up information (sudo, etc). We may also try to uninstall + // the same directory via different bases (e.g., root and exec_bin). // for (auto i (ids.rbegin ()), j (i), e (ids.rend ()); i != e; j = ++i) { -- cgit v1.1