aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/build/external/source
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-02-20 03:15:20 +0000
committerFrancis Rowe <info@gluglug.org.uk>2015-02-20 03:23:52 +0000
commita4edcd82dc5405d8b58bf6ea2ddb6f928c059049 (patch)
tree1e15f2eaf4eb3541d14ab5d057a411b47604744e /resources/scripts/helpers/build/external/source
parent2fe82322b537e39fa6e5fbc9fb0242c2b9a93c26 (diff)
downloadlibrebootfr-a4edcd82dc5405d8b58bf6ea2ddb6f928c059049.tar.gz
librebootfr-a4edcd82dc5405d8b58bf6ea2ddb6f928c059049.zip
bash scripts: Only enable verbose output if DEBUG= is used
Diffstat (limited to 'resources/scripts/helpers/build/external/source')
-rwxr-xr-xresources/scripts/helpers/build/external/source3
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/scripts/helpers/build/external/source b/resources/scripts/helpers/build/external/source
index bff7b163..74cfdb3c 100755
--- a/resources/scripts/helpers/build/external/source
+++ b/resources/scripts/helpers/build/external/source
@@ -20,7 +20,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
# delete the old data
rm -rf tobuild