From 95ae9a34c1b69467827ce28451fc9564c14b96f2 Mon Sep 17 00:00:00 2001 From: "John M. Schanck" Date: Tue, 9 May 2023 21:30:02 +0000 Subject: Bug 1830973 - output early build errors by default. r=nkulatova Differential Revision: https://phabricator.services.mozilla.com/D176951 --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index bbb8d04a4..ae8eeee8b 100755 --- a/build.sh +++ b/build.sh @@ -30,11 +30,11 @@ run_verbose() if [ "$verbose" = 1 ]; then echo "$@" exec 3>&1 + "$@" 1>&3 2>&3 + exec 3>&- else - exec 3>/dev/null + "$@" >/dev/null fi - "$@" 1>&3 2>&3 - exec 3>&- } # The prehistoric bash on Mac doesn't support @Q quoting. -- cgit v1.2.1