Skip to content

Commit aeb8cff

Browse files
committed
chore: guard bash debug flag
1 parent 1cfb071 commit aeb8cff

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ ENV TIME_ZONE='UTC'
5151
ENV REPOPICK_PICKS=''
5252
ENV REPOPICK_TOPICS=''
5353
ENV REPOPICK_PULLS=''
54+
ENV DEBUG=''
5455

5556
# Authentification
5657
ENV TELEGRAM_TOKEN=''

scripts/init.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/bin/bash
22

3-
set -eEuo pipefail #-x
3+
set -eEuo pipefail
4+
if [[ 'true' == "${DEBUG}" ]]; then
5+
set -x
6+
fi
47

58
# Add our functions
69
export PATH="${BIN_DIR}":"${PATH}"

0 commit comments

Comments
 (0)