File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 22# functions common to oks scripts
33
44CD_DEV=/dev/cdrom
5+ export OUTPUT=/var/lib/oks
56
67error () {
78 >&2 command echo [" $( date --utc +%FT%TZ) " ERROR " ${0##*/ } " ] " $@ "
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ set -eou pipefail
55. oks-lib.sh
66
77info " Creating output directory."
8- mkdir -p output
8+ mkdir -p " $OUTPUT "
99
1010info " Starting terminal session recording."
11- script --t=output /script-timing.log -a output /script.log
11+ script --t=" $OUTPUT " /script-timing.log -a " $OUTPUT " /script.log
Original file line number Diff line number Diff line change @@ -12,8 +12,6 @@ set -euo pipefail
1212command_on_path mkisofs
1313command_on_path cdrecord
1414
15- OUTPUT=" /var/lib/oks"
16-
1715TMP_DIR=$( mktemp --directory)
1816trap ' rm -rf -- "$TMP_DIR"' EXIT
1917
You can’t perform that action at this time.
0 commit comments