aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script/script
diff options
context:
space:
mode:
Diffstat (limited to 'build2/test/script/script')
-rw-r--r--build2/test/script/script7
1 files changed, 4 insertions, 3 deletions
diff --git a/build2/test/script/script b/build2/test/script/script
index a5fb0ef..2d74b16 100644
--- a/build2/test/script/script
+++ b/build2/test/script/script
@@ -122,10 +122,11 @@ namespace build2
const path& id_path; // Id path ($@, relative in POSIX form).
const dir_path& wd_path; // Working dir ($~, absolute and normalized).
- // Files and directories that must be automatically removed when the
- // scope is left.
+ // Files and directories that must be automatically cleaned up when
+ // the scope is left. If the path ends with a trailing slash, then it
+ // is assumed to be to a directory, otherwise -- to a file.
//
- paths rm_paths;
+ paths cleanups;
// Variables.
//