Skip to content

Commit

Permalink
chore: expand mktemp template
Browse files Browse the repository at this point in the history
  • Loading branch information
ga-paul-t committed Sep 7, 2021
1 parent 6761dbb commit e3bb55c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/install
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ initOS() {
case "$OS" in
# Minimalist GNU for Windows
mingw*) OS='windows';;
msys*) OS='windows';;
msys*) OS='windows';;
esac
}

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e3bb55c

Please sign in to comment.