mirror of
https://github.com/ironfox-oss/IronFox.git
synced 2026-08-01 02:16:36 -04:00
fix: decrease default verbosity (+ add IRONFOX_VERBOSE env var to control it)
Signed-off-by: celenity <celenity@celenity.dev>
This commit is contained in:
@@ -4,7 +4,7 @@ set -euo pipefail
|
||||
|
||||
# Set-up our environment
|
||||
if [[ -z "${IRONFOX_SET_ENVS+x}" ]]; then
|
||||
/bin/bash -x $(dirname $0)/env.sh
|
||||
/bin/bash $(dirname $0)/env.sh
|
||||
fi
|
||||
source $(dirname $0)/env.sh
|
||||
|
||||
@@ -14,6 +14,13 @@ source "${IRONFOX_UTILS}"
|
||||
# Include version info
|
||||
source "${IRONFOX_VERSIONS}"
|
||||
|
||||
# Set verbosity
|
||||
if [[ "${IRONFOX_VERBOSE}" == 1 ]]; then
|
||||
set -x
|
||||
else
|
||||
set +x
|
||||
fi
|
||||
|
||||
# Set timezone to UTC for consistency
|
||||
unset TZ
|
||||
export TZ="UTC"
|
||||
|
||||
Reference in New Issue
Block a user