diff options
Diffstat (limited to 'openecomp-be/tools')
-rw-r--r-- | openecomp-be/tools/build/scripts/generate-cassandra-init-cql.sh | 2 | ||||
-rw-r--r-- | openecomp-be/tools/build/scripts/zusammen-generate-cassandra-init-cql.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/openecomp-be/tools/build/scripts/generate-cassandra-init-cql.sh b/openecomp-be/tools/build/scripts/generate-cassandra-init-cql.sh index eaa9a3f59d..06065b1368 100644 --- a/openecomp-be/tools/build/scripts/generate-cassandra-init-cql.sh +++ b/openecomp-be/tools/build/scripts/generate-cassandra-init-cql.sh @@ -26,7 +26,7 @@ usage() { echo "Usage: $0 <db-cql-json-file> keyspace yes/no, for example: $0 ca main() { - if [ $3 == 'yes' ]; then + if [ "$3" = "yes" ]; then echo "CREATE KEYSPACE IF NOT EXISTS dox WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };" fi echo "USE dox;" diff --git a/openecomp-be/tools/build/scripts/zusammen-generate-cassandra-init-cql.sh b/openecomp-be/tools/build/scripts/zusammen-generate-cassandra-init-cql.sh index b215fb3ce7..8cb422a121 100644 --- a/openecomp-be/tools/build/scripts/zusammen-generate-cassandra-init-cql.sh +++ b/openecomp-be/tools/build/scripts/zusammen-generate-cassandra-init-cql.sh @@ -27,7 +27,7 @@ usage() { echo "Usage: $0 <db-cql-json-file> keyspace yes/no, for example: $0 ca main() { - if [ $3 == 'yes' ]; then + if [ "$3" = "yes" ]; then echo "CREATE KEYSPACE IF NOT EXISTS $KEYSPACE_ZUSAMMEN WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 3 };" fi echo "USE $KEYSPACE_ZUSAMMEN;" |