We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d82ed40 commit 43a8e53Copy full SHA for 43a8e53
cloud-sql/mysql/mysql/test/proxy-setup.sh
@@ -17,13 +17,13 @@
17
PROXY_VERSION="v2.15.1"
18
SETUP_STYLE=${1:-tcp}
19
20
-if [ $SETUP_STYLE -ne "tcp" ]; then
+if [[ $SETUP_STYLE -ne "tcp" ]]; then
21
mkdir cloudsql && chmod 777 cloudsql
22
socket="--unix-socket /cloudsql"
23
-; fi
+fi
24
25
curl -o cloud-sql-proxy https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/${PROXY_VERSION}/cloud-sql-proxy.linux.amd64
26
-if [ $? -ne 0 ]; then
+if [[ $? -ne 0 ]]; then
27
echo "Failed to download cloud-sql-proxy"
28
exit 1
29
fi
0 commit comments