Skip to content

Commit fe385a7

Browse files
committed
[update] : Run tee with --nocolor
1 parent 140ceb6 commit fe385a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,8 +509,8 @@ prepare_build() {
509509
logging="${out_dir}/${iso_filename%.iso}.log"
510510
fi
511511
mkdir -p "$(dirname "${logging}")"; touch "${logging}"
512-
msg_warn "Re-run sudo ${0} ${DEFAULT_ARGUMENT} ${ARGUMENT[*]} --nodepend --nolog 2>&1 | tee ${logging}"
513-
sudo ${0} ${DEFAULT_ARGUMENT} "${ARGUMENT[@]}" --nolog --nodepend 2>&1 | tee "${logging}"
512+
msg_warn "Re-run sudo ${0} ${DEFAULT_ARGUMENT} ${ARGUMENT[*]} --nodepend --nolog --nocolor 2>&1 | tee ${logging}"
513+
sudo ${0} ${DEFAULT_ARGUMENT} "${ARGUMENT[@]}" --nolog --nocolor --nodepend 2>&1 | tee "${logging}"
514514
exit "${?}"
515515
else
516516
unset DEFAULT_ARGUMENT ARGUMENT

0 commit comments

Comments
 (0)