From 29c59165396eb842d92367fca74c4e459ea25900 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 25 May 2020 14:17:19 +0200 Subject: Review (temp dir) --- libbuild2/build/script/script.hxx | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'libbuild2/build/script') diff --git a/libbuild2/build/script/script.hxx b/libbuild2/build/script/script.hxx index f8306e1..ec603a7 100644 --- a/libbuild2/build/script/script.hxx +++ b/libbuild2/build/script/script.hxx @@ -81,13 +81,20 @@ namespace build2 // variable_map vars; - // Temporary directory for the script run (see build2::script:: - // environment::temp_dir for details). + // Temporary directory for the script run. // // Currently this directory is removed regardless of the script - // execution success or failure. Later, to ease the troubleshooting, - // we may invent the build2 option suppressing the directory removal - // on failure. + // execution success or failure. Later, to help with troubleshooting, + // we may invent an option that suppresses the removal of temporary + // files in general. + // + // This directory is available to the user via the $~ special + // variable. Note, however, that the following filesystem entry + // prefixes are reserved: + // + // stdin* + // stdout* + // stderr* // auto_rmdir temp_dir; -- cgit v1.1