From 636a4ce2249faa1bf68488f3a6b723b7ff7b3efc Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Mon, 5 Dec 2022 22:21:06 -0800 Subject: [PATCH] ci: Use temp.sh --- ci/release/_install.sh | 2 +- install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/release/_install.sh b/ci/release/_install.sh index 3ef502a1d..f24d5c8ad 100755 --- a/ci/release/_install.sh +++ b/ci/release/_install.sh @@ -452,7 +452,7 @@ fetch_release_info() { fi log "fetching info on $VERSION version of $REPO" - RELEASE_INFO=$(mktemp -d)/release-info.json + RELEASE_INFO=$(mktempd)/release-info.json if [ "$VERSION" = latest ]; then release_info_url="https://api.github.com/repos/$REPO/releases/$VERSION" else diff --git a/install.sh b/install.sh index 8e4215cd2..a2788292a 100755 --- a/install.sh +++ b/install.sh @@ -1031,7 +1031,7 @@ fetch_release_info() { fi log "fetching info on $VERSION version of $REPO" - RELEASE_INFO=$(mktemp -d)/release-info.json + RELEASE_INFO=$(mktempd)/release-info.json if [ "$VERSION" = latest ]; then release_info_url="https://api.github.com/repos/$REPO/releases/$VERSION" else