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/scripts/dependencies/trisquel7dependencies | |
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/scripts/dependencies/trisquel7dependencies')
-rwxr-xr-x | resources/scripts/dependencies/trisquel7dependencies | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/resources/scripts/dependencies/trisquel7dependencies b/resources/scripts/dependencies/trisquel7dependencies index 5330f75..f9c04be 100755 --- a/resources/scripts/dependencies/trisquel7dependencies +++ b/resources/scripts/dependencies/trisquel7dependencies @@ -2,7 +2,7 @@ # for_trisquel7 script: installs build dependencies for Trisquel 7 # -# 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 @@ -18,7 +18,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 if [[ $EUID -ne 0 ]]; then echo "This script must be run as root" |