From a4edcd82dc5405d8b58bf6ea2ddb6f928c059049 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Fri, 20 Feb 2015 03:15:20 +0000 Subject: bash scripts: Only enable verbose output if DEBUG= is used --- resources/scripts/helpers/build/roms/helper | 3 ++- resources/scripts/helpers/build/roms/withgrub | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'resources/scripts/helpers/build/roms') diff --git a/resources/scripts/helpers/build/roms/helper b/resources/scripts/helpers/build/roms/helper index 0a4f06c6..d63598d7 100755 --- a/resources/scripts/helpers/build/roms/helper +++ b/resources/scripts/helpers/build/roms/helper @@ -21,7 +21,8 @@ # This script assumes that the working directory is the root # of libreboot_src or git -set -u -e -v +[ "x${DEBUG+set}" = 'xset' ] && set -v +set -u -e if (( $# != 1 )); then echo "Usage: ./buildrom-withgrub boardname" diff --git a/resources/scripts/helpers/build/roms/withgrub b/resources/scripts/helpers/build/roms/withgrub index 9fa20e50..18cf62e0 100755 --- a/resources/scripts/helpers/build/roms/withgrub +++ b/resources/scripts/helpers/build/roms/withgrub @@ -22,7 +22,8 @@ # This script assumes that the working directory is the root # of libreboot_src or git -set -u -e -v +[ "x${DEBUG+set}" = 'xset' ] && set -v +set -u -e # Build the ROM images -- cgit v1.2.3-70-g09d2