Fix error in local-cluster-up

When $GO_OUT is not set, line 152 will output the error:
[: ==: unary operator expected. This occurs because the if condition becomes
if [  == "" ]. This results in an error because == is a binary operator.
This commit is contained in:
Nikhita Raghunath 2017-06-26 21:59:01 +05:30
parent f505c386d3
commit 52bd0bc713
No known key found for this signature in database
GPG Key ID: B944F27A57CF61F5

View File

@ -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