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/utilities/coreboot-libre/deblob | 3 ++- resources/utilities/coreboot-libre/findblobs | 3 ++- resources/utilities/grub-assemble/grub_memdisk_keymap | 5 +++-- 3 files changed, 7 insertions(+), 4 deletions(-) (limited to 'resources/utilities') diff --git a/resources/utilities/coreboot-libre/deblob b/resources/utilities/coreboot-libre/deblob index ae2305bf..29b330e1 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 0d3027a8..f424d8d5 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 diff --git a/resources/utilities/grub-assemble/grub_memdisk_keymap b/resources/utilities/grub-assemble/grub_memdisk_keymap index 2ef01131..df25a0f7 100755 --- a/resources/utilities/grub-assemble/grub_memdisk_keymap +++ b/resources/utilities/grub-assemble/grub_memdisk_keymap @@ -3,7 +3,7 @@ # # lists keymaps # -# Copyright (C) 2014 Francis Rowe +# Copyright (C) 2014, 2015 Francis Rowe # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -19,7 +19,8 @@ # along with this program. If not, see . # -set -u -e -v +[ "x${DEBUG+set}" = 'xset' ] && set -v +set -u -e for keymap in $(ls keymap/original) do -- cgit v1.2.3-70-g09d2