Skip to content

Commit

Permalink
skip unnecessary tmp folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehdi BEN ABDALLAH committed Feb 23, 2018
1 parent 75135c0 commit ccb7ba1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions install-binary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ccb7ba1

Please sign in to comment.