Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
closes #3795
closes #3795
  • Loading branch information
ReSearchITEng committed Mar 30, 2018
1 parent 531deec commit 09e0ab1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/get
Expand Up @@ -184,7 +184,9 @@ help () {

# cleanup temporary files to avoid https://github.com/kubernetes/helm/issues/2977
cleanup() {
rm -rf "$HELM_TMP_ROOT"
if [[ -d "${HELM_TMP_ROOT:-}" ]]; then
rm -rf "$HELM_TMP_ROOT"
fi
}

# Execution
Expand Down

0 comments on commit 09e0ab1

Please sign in to comment.