From ccb7ba1a8a6ca1a58608022f781fbf2d49083f0a Mon Sep 17 00:00:00 2001 From: Mehdi BEN ABDALLAH Date: Fri, 23 Feb 2018 13:20:24 +0100 Subject: [PATCH] skip unnecessary tmp folder --- install-binary.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/install-binary.sh b/install-binary.sh index d482814..0733d2b 100755 --- a/install-binary.sh +++ b/install-binary.sh @@ -105,11 +105,8 @@ downloadFile() { # Unpack and install the helm plugin installFile() { - HELM_TMP="/tmp/$PROJECT_NAME" - mkdir -p "$HELM_TMP" - tar xf "$PLUGIN_TMP_FILE" -C "$HELM_TMP" echo "Preparing to install into ${HELM_PLUGIN_PATH}" - cp -r "$HELM_TMP" "$HELM_PLUGIN_PATH" + tar xf "$PLUGIN_TMP_FILE" -C "$HELM_PLUGIN_PATH" } # Executed if an error occurs.