always write RUN script to /tmp/run_embark_script, for easy inspection

This commit is contained in:
Michael Bradley, Jr 2018-08-09 14:26:21 -05:00
parent fc5984b298
commit 9fa8af73dc
1 changed files with 1 additions and 1 deletions

2
run.sh
View File

@ -146,7 +146,7 @@ run_embark () {
exec bash -${i_flag}s \$(tty) ${cmd[@]} << 'RUN' exec bash -${i_flag}s \$(tty) ${cmd[@]} << 'RUN'
__tty=\$1 __tty=\$1
shift shift
script=\$(mktemp) script=/tmp/run_embark_script
cat << 'SCRIPT' > \$script cat << 'SCRIPT' > \$script
$run_script $run_script
SCRIPT SCRIPT