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.
parent f505c386
......@@ -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