diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-09-04 17:31:41 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-09-04 17:31:41 +0200 |
commit | 201a7607f6b6d0c7b02e0ecccdc05258e1c623b1 (patch) | |
tree | c14e895b0d4601c30e492563637126394b5bc555 | |
parent | 34b6baf94093aee716c7592c981867b58f0fcde0 (diff) |
Adjust configure/disfigure verbosity
-rw-r--r-- | build2/config/operation.cxx | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/build2/config/operation.cxx b/build2/config/operation.cxx index 78c63b1..83365f7 100644 --- a/build2/config/operation.cxx +++ b/build2/config/operation.cxx @@ -40,8 +40,8 @@ namespace build2 { path f (out_root / src_root_file); - if (verb) - text << (verb >= 2 ? "cat >" : "save ") << f; + if (verb >= 2) + text << "cat >" << f; try { @@ -299,9 +299,8 @@ namespace build2 // if (out_root != src_root) { - mkdir_p (out_root); - mkdir (out_root / build_dir); - mkdir (out_root / bootstrap_dir); + mkdir_p (out_root / build_dir); + mkdir (out_root / bootstrap_dir, 2); } // We distinguish between a complete configure and operation- @@ -497,7 +496,7 @@ namespace build2 !d.empty (); d = d.directory ()) { - rmdir_status s (rmdir (out_root / d)); + rmdir_status s (rmdir (out_root / d, 2)); if (s == rmdir_status::not_empty) break; // No use trying do remove parent ones. @@ -519,12 +518,12 @@ namespace build2 if (out_root != src_root) { - m = rmfile (out_root / src_root_file) || m; + m = rmfile (out_root / src_root_file, 2) || m; // Clean up the directories. // - m = rmdir (out_root / bootstrap_dir) || m; - m = rmdir (out_root / build_dir) || m; + m = rmdir (out_root / bootstrap_dir, 2) || m; + m = rmdir (out_root / build_dir, 2) || m; switch (rmdir (out_root)) { |