From a4edcd82dc5405d8b58bf6ea2ddb6f928c059049 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Thu, 19 Feb 2015 22:15:20 -0500 Subject: bash scripts: Only enable verbose output if DEBUG= is used --- (limited to 'resources/utilities/coreboot-libre') diff --git a/resources/utilities/coreboot-libre/deblob b/resources/utilities/coreboot-libre/deblob index ae2305b..29b330e 100755 --- a/resources/utilities/coreboot-libre/deblob +++ b/resources/utilities/coreboot-libre/deblob @@ -21,7 +21,8 @@ # This script assumes that the current working directory is the root # of the libreboot_src/ or git clone. -set -u -e -v +[ "x${DEBUG+set}" = 'xset' ] && set -v +set -u -e cd coreboot/ diff --git a/resources/utilities/coreboot-libre/findblobs b/resources/utilities/coreboot-libre/findblobs index 0d3027a..f424d8d 100755 --- a/resources/utilities/coreboot-libre/findblobs +++ b/resources/utilities/coreboot-libre/findblobs @@ -1,6 +1,7 @@ #!/bin/bash -set -e +[ "x${DEBUG+set}" = 'xset' ] && set -v +set -e -u # This is used when updating the version of # coreboot that libreboot uses, to know what -- cgit v0.9.1