diff options
author | Francis 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) |
commit | a4edcd82dc5405d8b58bf6ea2ddb6f928c059049 (patch) | |
tree | 1e15f2eaf4eb3541d14ab5d057a411b47604744e /resources/utilities | |
parent | 2fe82322b537e39fa6e5fbc9fb0242c2b9a93c26 (diff) | |
download | libreboot-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')
-rwxr-xr-x | resources/utilities/coreboot-libre/deblob | 3 | ||||
-rwxr-xr-x | resources/utilities/coreboot-libre/findblobs | 3 | ||||
-rwxr-xr-x | resources/utilities/grub-assemble/grub_memdisk_keymap | 5 |
3 files changed, 7 insertions, 4 deletions
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 diff --git a/resources/utilities/grub-assemble/grub_memdisk_keymap b/resources/utilities/grub-assemble/grub_memdisk_keymap index 2ef0113..df25a0f 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 <info@gluglug.org.uk> +# Copyright (C) 2014, 2015 Francis Rowe <info@gluglug.org.uk> # # 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 <http://www.gnu.org/licenses/>. # -set -u -e -v +[ "x${DEBUG+set}" = 'xset' ] && set -v +set -u -e for keymap in $(ls keymap/original) do |