From c34ec82c3654250fb5d0a4d8fed1aed1d7e2cf97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20K=C5=82opotek?= Date: Mon, 2 Oct 2017 09:12:58 +0200 Subject: [PATCH] HELM_TMP_ROOT directory is now uniquely generated to avoid potential clashes with old installation instances or other processes using the same /tmp subdirectory --- scripts/get | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/get b/scripts/get index 9f4760123..51074f352 100755 --- a/scripts/get +++ b/scripts/get @@ -111,7 +111,7 @@ downloadFile() { HELM_DIST="helm-$TAG-$OS-$ARCH.tar.gz" DOWNLOAD_URL="https://kubernetes-helm.storage.googleapis.com/$HELM_DIST" CHECKSUM_URL="$DOWNLOAD_URL.sha256" - HELM_TMP_ROOT="/tmp/$(whoami)" + HELM_TMP_ROOT="/tmp/$(mktemp -d helm-installer-XXX)" HELM_TMP_FILE="$HELM_TMP_ROOT/$HELM_DIST" HELM_SUM_FILE="$HELM_TMP_ROOT/$HELM_DIST.sha256" mkdir -p "$HELM_TMP_ROOT"