From 6456c1d7d636ed9d046f24c81873b00d226b76da Mon Sep 17 00:00:00 2001 From: Chatnoir Miki Date: Mon, 25 Nov 2024 11:35:08 +0800 Subject: [PATCH] reproduce.tt: Use realpath for tmpDir to fix macOS compatibility --- src/root/reproduce.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/root/reproduce.tt b/src/root/reproduce.tt index dc88edfa..d8a77518 100644 --- a/src/root/reproduce.tt +++ b/src/root/reproduce.tt @@ -7,7 +7,7 @@ main() { set -e -tmpDir=${TMPDIR:-/tmp}/build-[% build.id +%] +tmpDir=$(realpath "${TMPDIR:-/tmp}")/build-[% build.id +%] declare -a args extraArgs