We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07b3c4b commit 3f00ad9Copy full SHA for 3f00ad9
build.sh
@@ -511,11 +511,11 @@ prepare_build() {
511
# Run with tee
512
if [[ ! "${logging}" = false ]]; then
513
if [[ "${customized_logpath}" = false ]]; then
514
- logging="${iso_filename%.iso}.log"
+ logging="${out_dir}/${iso_filename%.iso}.log"
515
fi
516
mkdir -p "$(dirname "${logging}")"; touch "${logging}"
517
msg_warn "Re-run sudo ${0} ${DEFAULT_ARGUMENT} ${ARGUMENT[*]} --nolog 2>&1 | tee ${logging}"
518
- sudo ${0} ${DEFAULT_ARGUMENT} "${ARGUMENT[@]}" --nolog 2>&1 | tee ${logging}
+ sudo ${0} ${DEFAULT_ARGUMENT} "${ARGUMENT[@]}" --nolog 2>&1 | tee "${logging}"
519
exit "${?}"
520
else
521
unset DEFAULT_ARGUMENT ARGUMENT
0 commit comments