aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/install/rule.cxx5
1 files changed, 3 insertions, 2 deletions
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)
{