Skip to content

Commit

Permalink
Merge pull request kubernetes#17925 from mikedanese/tmp-fix
Browse files Browse the repository at this point in the history
Auto commit by PR queue bot
  • Loading branch information
k8s-merge-robot committed Dec 1, 2015
2 parents 4602220 + 7c41379 commit 11574ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cluster/saltbase/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ readonly KUBE_DOCKER_WRAPPED_BINARIES=(
kube-scheduler
kube-proxy
)

readonly SERVER_BIN_TAR=${1-}
if [[ -z "$SERVER_BIN_TAR" ]]; then
echo "!!! No binaries specified"
exit 1
fi

# Create a temp dir for untaring
KUBE_TEMP=$(mktemp -d -t kubernetes.XXXXXX)
KUBE_TEMP=$(mktemp --tmpdir=/srv -d -t kubernetes.XXXXXX)
trap 'rm -rf "${KUBE_TEMP}"' EXIT

# This file is meant to run on the master. It will install the salt configs
Expand Down

0 comments on commit 11574ee

Please sign in to comment.