aboutsummaryrefslogtreecommitdiff
path: root/bdep
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-10-21 08:10:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-10-21 08:10:11 +0200
commitbdb1c184cc869dbf7d70f4f8fd373f31c9e3f10d (patch)
tree70854caea35202ea5db892f38b52ce9475ff42e7 /bdep
parentdf3328a3a24c0e13b2269bbe2c689a1b5fdb5630 (diff)
Pass --[no]-progress in sync hook based on $build.progress
Diffstat (limited to 'bdep')
-rw-r--r--bdep/sync.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/bdep/sync.cxx b/bdep/sync.cxx
index 5c1c500..721985c 100644
--- a/bdep/sync.cxx
+++ b/bdep/sync.cxx
@@ -1840,6 +1840,7 @@ namespace bdep
<< " $getenv('BDEP_SYNC') == 1)" << endl
<< " run '" << argv0 << "' sync --hook=1 " <<
"--verbose $build.verbosity " <<
+ "($build.progress == [null] ? : $build.progress ? --progress : --no-progress) " <<
"--config \"$out_root\"" << endl
<< "}" << endl;