Commit 36e17f6d authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #48076 from nikhita/fix-local-cluster-up

Automatic merge from submit-queue (batch tested with PRs 44058, 48085, 48077, 48076, 47823) Fix error in local-cluster-up When $GO_OUT is not set, line 152 outputs an error. ``` ./hack/local-up-cluster.sh: line 152: [: ==: unary operator expected ``` This occurs because the if condition expands as `if [ == "" ]`. This results in an error because == is a binary operator and expects something on the LHS. **Release note**: ```release-note NONE ``` cc @sttts FYI @Gouthamve
parents babd5659 52bd0bc7
......@@ -149,7 +149,7 @@ do
;;
O)
GO_OUT=$(guess_built_binary_path)
if [ $GO_OUT == "" ]; then
if [ "$GO_OUT" == "" ]; then
echo "Could not guess the correct output directory to use."
exit 1
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment