diff --git a/stub.bash b/stub.bash index 52c319b..cf33308 100644 --- a/stub.bash +++ b/stub.bash @@ -1,4 +1,4 @@ -BATS_MOCK_TMPDIR="${BATS_TMPDIR}" +BATS_MOCK_TMPDIR="${BATS_RUN_TMPDIR}" BATS_MOCK_BINDIR="${BATS_MOCK_TMPDIR}/bin" BATS_MOCK_REAL_mkdir=$(which mkdir)