Skip to content

Commit 94fac45

Browse files
committed
[fix] : Fixed -x not working
1 parent 430f1eb commit 94fac45

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

allarch.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1363,6 +1363,9 @@ unset DEFAULT_ARGUMENT ARGUMENT
13631363
msg_debug "Use the default configuration file (${defaultconfig})."
13641364
[[ -f "${script_path}/custom.conf" ]] && msg_debug "The default settings have been overridden by custom.conf"
13651365

1366+
# Debug mode
1367+
if [[ "${bash_debug}" = true ]]; then set -x -v; fi
1368+
13661369
set +eu
13671370

13681371
# Check for a valid channel name

build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1430,6 +1430,9 @@ msg_debug "Use the default configuration file (${defaultconfig})."
14301430
# Set rebuild config file
14311431
rebuildfile="${work_dir}/alteriso_config"
14321432

1433+
# Debug mode
1434+
if [[ "${bash_debug}" = true ]]; then set -x -v; fi
1435+
14331436
set +eu
14341437

14351438
# Check for a valid channel name

0 commit comments

Comments
 (0)