Skip to content

Commit c32cd2c

Browse files
committed
fixup: Ensure compatibility with gnu mktemp
1 parent a54da74 commit c32cd2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/tests.e2e.persistent.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ if [[ -z "${AVALANCHEGO_PATH}" ]]; then
2424
fi
2525

2626
# Create a temporary directory to store persistent network
27-
ROOT_DIR="$(mktemp -d -t e2e-testnet)"
27+
ROOT_DIR="$(mktemp -d ${TMPDIR}e2e-testnet.XXXXXX)"
2828

2929
# Ensure network cleanup on teardown
3030
function cleanup {

0 commit comments

Comments
 (0)