aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-12-01 14:24:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-12-01 14:24:47 +0200
commit4baebfcd64066c94a2a814d784f0973ef5ee9b6a (patch)
treeea17538961145ecc0973abb14e2e167d294ada9e /libbuild2
parente188fbebff1d4ba01ec906867e2d7ef0824b01f8 (diff)
Add clarifying comment
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)
{