From e3bb55c971594e68d65596bb78a65a377307bf46 Mon Sep 17 00:00:00 2001 From: "paul.t" Date: Tue, 7 Sep 2021 11:26:37 +0100 Subject: [PATCH] chore: expand mktemp template --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 57f222f..b4c43d6 100755 --- a/scripts/install +++ b/scripts/install @@ -46,7 +46,7 @@ initOS() { case "$OS" in # Minimalist GNU for Windows mingw*) OS='windows';; - msys*) OS='windows';; + msys*) OS='windows';; esac } @@ -80,7 +80,7 @@ download() { local archive="git-remote-codecommit_${VERSION}_${OS}-${ARCH}.${PACKAGE_TYPE}" DOWNLOAD_URL="https://github.com/gembaadvantage/git-remote-codecommit/releases/download/${VERSION}/${archive}" - DOWNLOAD_DIR="$(mktemp -dt git-remote-codecommit-install)" + DOWNLOAD_DIR="$(mktemp -dt git-remote-codecommit-install-XXXXXXX)" GRC_FILE="${DOWNLOAD_DIR}/${archive}" if [ "${HAS_CURL}" == "true" ]; then