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

View file

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