Skip to content

Commit

Permalink
fix(script): unset TMPDIR for run script
Browse files Browse the repository at this point in the history
  • Loading branch information
metafates committed Oct 31, 2022
1 parent 36aab8d commit ff4e033
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/run
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ run() {
)

tar -xf "$TAR_FILE" -C "$TMPDIR"
"${TMPDIR}/${FILE_BASENAME}" "$@"
T="$TMPDIR"
TMPDIR="" # unset TMPDIR so mangal won't crash because of occupied TMPDIR
"${T}/${FILE_BASENAME}" "$@"
}

run "$@"

0 comments on commit ff4e033

Please sign in to comment.