summary refs log tree commit diff
path: root/.ci
diff options
context:
space:
mode:
authorDan Callahan <danc@element.io>2021-10-18 16:55:18 +0100
committerDan Callahan <danc@element.io>2021-10-22 23:08:53 +0100
commit64adbb7b5425bb618077e1ab85faede1301de024 (patch)
tree8f8ccf69277819fa73cad55c08e69c720b1dee1c /.ci
parentFix Shellcheck SC2164: exit in case cd fails. (diff)
downloadsynapse-64adbb7b5425bb618077e1ab85faede1301de024.tar.xz
Fix Shellcheck SC2046: Quote to prevent word split
Quote this to prevent word splitting

https://www.shellcheck.net/wiki/SC2046

Signed-off-by: Dan Callahan <danc@element.io>
Diffstat (limited to '.ci')
-rwxr-xr-x.ci/scripts/test_export_data_command.sh2
-rwxr-xr-x.ci/scripts/test_synapse_port_db.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/.ci/scripts/test_export_data_command.sh b/.ci/scripts/test_export_data_command.sh
index 75f5811d10..2180072c06 100755
--- a/.ci/scripts/test_export_data_command.sh
+++ b/.ci/scripts/test_export_data_command.sh
@@ -3,7 +3,7 @@
 # Test for the export-data admin command against sqlite and postgres
 
 set -xe
-cd `dirname $0`/../..
+cd "`dirname $0`/../.."
 
 echo "--- Install dependencies"
 
diff --git a/.ci/scripts/test_synapse_port_db.sh b/.ci/scripts/test_synapse_port_db.sh
index 50115b3079..7bcbe63654 100755
--- a/.ci/scripts/test_synapse_port_db.sh
+++ b/.ci/scripts/test_synapse_port_db.sh
@@ -7,7 +7,7 @@
 
 
 set -xe
-cd `dirname $0`/../..
+cd "`dirname $0`/../.."
 
 echo "--- Install dependencies"