mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
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
This commit is contained in:
commit
36e17f6d07
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user