about summary refs log tree commit diff
path: root/src/globals.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-08-19T09·04+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-08-19T09·04+0000
commit2de850479101e5a378c87d1392ea03c63ce224cf (patch)
tree4a7782e4ec3439cc73311d68e272546c486f9116 /src/globals.hh
parent31e4aa64396858e3b6ef8477397c84cbd80670fc (diff)
* Delete the temporary directories of failed builds by default, and an
  option `--keep-failed' to override this behaviour.

Diffstat (limited to 'src/globals.hh')
-rw-r--r--src/globals.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/globals.hh b/src/globals.hh
index 2c4d3392077d..107d617bc895 100644
--- a/src/globals.hh
+++ b/src/globals.hh
@@ -69,6 +69,12 @@ extern string nixLogDir;
 extern string nixDBPath;
 
 
+/* Misc. global flags. */
+
+/* Whether to keep temporary directories of failed builds. */
+extern bool keepFailed;
+
+
 /* Open the database environment. */
 void openDB();