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/download/bucts | 3 ++- resources/scripts/helpers/download/coreboot | 3 ++- resources/scripts/helpers/download/flashrom | 3 ++- resources/scripts/helpers/download/grub | 3 ++- resources/scripts/helpers/download/memtest86plus | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) (limited to 'resources/scripts/helpers/download') diff --git a/resources/scripts/helpers/download/bucts b/resources/scripts/helpers/download/bucts index 5d5e5d13..7e3f72d5 100755 --- a/resources/scripts/helpers/download/bucts +++ b/resources/scripts/helpers/download/bucts @@ -21,7 +21,8 @@ # This script assumes that the working directory is the # root of libreboot_src or libreboot git. -set -u -e -v +[ "x${DEBUG+set}" = 'xset' ] && set -v +set -u -e # Get bucts and checkout last revision used diff --git a/resources/scripts/helpers/download/coreboot b/resources/scripts/helpers/download/coreboot index 586f1c11..281d72c4 100755 --- a/resources/scripts/helpers/download/coreboot +++ b/resources/scripts/helpers/download/coreboot @@ -21,7 +21,8 @@ # This script assumes that the working directory is the # root of libreboot_src or libreboot git. -set -u -e -v +[ "x${DEBUG+set}" = 'xset' ] && set -v +set -u -e # This grabs current base used, and applies patches # This is also used to run the deblob scripts. diff --git a/resources/scripts/helpers/download/flashrom b/resources/scripts/helpers/download/flashrom index 45f7a341..81e8caed 100755 --- a/resources/scripts/helpers/download/flashrom +++ b/resources/scripts/helpers/download/flashrom @@ -21,7 +21,8 @@ # This script assumes that the working directory is the # root of libreboot_src or libreboot git. -set -u -e -v +[ "x${DEBUG+set}" = 'xset' ] && set -v +set -u -e # Get flashrom at the last previously tested revision diff --git a/resources/scripts/helpers/download/grub b/resources/scripts/helpers/download/grub index 8dc512e4..6145293c 100755 --- a/resources/scripts/helpers/download/grub +++ b/resources/scripts/helpers/download/grub @@ -21,7 +21,8 @@ # This script assumes that the working directory is the # root of libreboot_src or libreboot git. -set -u -e -v +[ "x${DEBUG+set}" = 'xset' ] && set -v +set -u -e # Get GRUB, revert to commit last used and apply patches. diff --git a/resources/scripts/helpers/download/memtest86plus b/resources/scripts/helpers/download/memtest86plus index 37564ccf..c04c3115 100755 --- a/resources/scripts/helpers/download/memtest86plus +++ b/resources/scripts/helpers/download/memtest86plus @@ -21,7 +21,8 @@ # This script assumes that the working directory is the # root of libreboot_src or libreboot git. -set -u -e -v +[ "x${DEBUG+set}" = 'xset' ] && set -v +set -u -e # Get the last version of MemTest86+ used, apply patches, build it. -- cgit v1.2.3-70-g09d2