Skip to content

Commit 43a8e53

Browse files
committed
syntax
1 parent d82ed40 commit 43a8e53

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cloud-sql/mysql/mysql/test/proxy-setup.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
PROXY_VERSION="v2.15.1"
1818
SETUP_STYLE=${1:-tcp}
1919

20-
if [ $SETUP_STYLE -ne "tcp" ]; then
20+
if [[ $SETUP_STYLE -ne "tcp" ]]; then
2121
mkdir cloudsql && chmod 777 cloudsql
2222
socket="--unix-socket /cloudsql"
23-
; fi
23+
fi
2424

2525
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
26+
if [[ $? -ne 0 ]]; then
2727
echo "Failed to download cloud-sql-proxy"
2828
exit 1
2929
fi

0 commit comments

Comments
 (0)