aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-02-11 05:45:24 +0300
committerFrederick Muriuki Muriithi2022-02-11 05:52:36 +0300
commit651c8ad9ae20ab52e7ab694c0caa9d92774b49b5 (patch)
tree65c1f4033a672e65b7b5b6a87acfca9811e2eae2 /sql
parentfad6f623f204aa1064b48fe1d8cb575f270ac217 (diff)
downloadgenenetwork3-651c8ad9ae20ab52e7ab694c0caa9d92774b49b5.tar.gz
Quote shell variables to prevent globbing
Quote the shell variables to prevent globbing and word splitting. Deactivate this check for the specific lines that require intentional word splitting
Diffstat (limited to 'sql')
-rwxr-xr-xsql/map-database.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/map-database.sh b/sql/map-database.sh
index 2e4d1d7..35a435f 100755
--- a/sql/map-database.sh
+++ b/sql/map-database.sh
@@ -11,5 +11,7 @@ clusters="Others=AccessLog,Docs,Investigators,MachineAccessLog,News,Organization
flags="--db MySQL --skip-tables $skip_tables --cluster $clusters"
+# shellcheck disable=SC2086 # Intentional splitting of `flags`
sqlt-graph $flags --output-type png --output schema.png schema.sql
+# shellcheck disable=SC2086 # Intentional splitting of `flags`
sqlt-graph $flags --output-type svg --output schema.svg schema.sql