summaryrefslogtreecommitdiffstats
path: root/resources/utilities/coreboot-libre/findblobs
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-02-19 22:15:20 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-02-19 22:23:52 (EST)
commita4edcd82dc5405d8b58bf6ea2ddb6f928c059049 (patch)
tree1e15f2eaf4eb3541d14ab5d057a411b47604744e /resources/utilities/coreboot-libre/findblobs
parent2fe82322b537e39fa6e5fbc9fb0242c2b9a93c26 (diff)
downloadlibreboot-a4edcd82dc5405d8b58bf6ea2ddb6f928c059049.zip
libreboot-a4edcd82dc5405d8b58bf6ea2ddb6f928c059049.tar.gz
libreboot-a4edcd82dc5405d8b58bf6ea2ddb6f928c059049.tar.bz2
bash scripts: Only enable verbose output if DEBUG= is used
Diffstat (limited to 'resources/utilities/coreboot-libre/findblobs')
-rwxr-xr-xresources/utilities/coreboot-libre/findblobs3
1 files changed, 2 insertions, 1 deletions
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