Skip to content

Commit afb904f

Browse files
committed
[build-script-impl] Echo commands that are executed when in verbose mode.
1 parent 91c9501 commit afb904f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

utils/build-script-impl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,9 +284,10 @@ KNOWN_SETTINGS=(
284284
# these functions.
285285

286286
function call() {
287-
if [[ ${DRY_RUN} ]]; then
287+
if [[ ${DRY_RUN} ]] || [[ "${VERBOSE_BUILD}" ]]; then
288288
echo "${PS4}"$(quoted_print "$@")
289-
else
289+
fi
290+
if [[ ! ${DRY_RUN} ]]; then
290291
{ set -x; } 2>/dev/null
291292
"$@"
292293
{ set +x; } 2>/dev/null

0 commit comments

Comments
 (0)