Add support for verbose bash execusion w/ `$DEBUG`

This commit is contained in:
Sviatoslav Sydorenko 2022-12-07 00:07:43 +01:00
parent e56e8212f4
commit e71a4a4c1d
No known key found for this signature in database
GPG Key ID: 9345E8FEA89CA455
1 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,10 @@
#! /bin/bash
if [[ -n "${DEBUG}" ]]
then
set -x
fi
set -Eeuo pipefail