fix: build: make the build/actors/pack.sh script work on macos

This commit is contained in:
Steven Allen 2022-06-13 19:34:29 -07:00 committed by Jennifer Wang
parent cda21546c4
commit 4b7f141230

View File

@ -14,7 +14,7 @@ NETWORKS=(devnet mainnet caterpillarnet butterflynet testing testing-fake-proofs
echo "Downloading bundles for actors version ${VERSION}, release ${RELEASE}"
TARGET_FILE="$(pwd)/${VERSION}.tar.zst"
WORKDIR=$(mktemp --tmpdir -d "actor-bundles-${VERSION}.XXXXXXXXXX")
WORKDIR=$(mktemp -d -t "actor-bundles-${VERSION}.XXXXXXXXXX")
trap 'rm -rf -- "$WORKDIR"' EXIT
pushd "${WORKDIR}"