mirror of
https://github.com/asciinema/asciinema.git
synced 2026-05-18 05:04:50 +02:00
Fix cleanup of tmp dir after test run
This commit is contained in:
@@ -5,7 +5,7 @@ set -x
|
||||
|
||||
export ASCIINEMA_CONFIG_HOME=`mktemp -d 2>/dev/null || mktemp -d -t asciinema-config-home`
|
||||
TMP_DATA_DIR=`mktemp -d 2>/dev/null || mktemp -d -t asciinema-data-dir`
|
||||
trap "echo rm -rf $ASCIINEMA_CONFIG_HOME $TMP_DATA_DIR" EXIT
|
||||
trap "rm -rf $ASCIINEMA_CONFIG_HOME $TMP_DATA_DIR" EXIT
|
||||
|
||||
function asciinema() {
|
||||
python3 -m asciinema "$@"
|
||||
|
||||
Reference in New Issue
Block a user