File tree Expand file tree Collapse file tree
spryker/usr/local/share/spryker Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ do_spryker_generate_files() {
104104do_spryker_install () {
105105 # check if database exists (it is supposed to be created by postgres container)
106106 set +e
107- psql -U " $DATABASE_USER " -h " $DATABASE_HOST " -lqt | cut -d \| -f 1 | grep -q " $DATABASE_NAME "
107+ psql -U " $DATABASE_USER " -h " $DATABASE_HOST " -lqt " $DATABASE_NAME " | cut -d \| -f 1 | grep -q " $DATABASE_NAME "
108108 DATABASE_EXISTS=$?
109109 set -e
110110
@@ -116,7 +116,7 @@ do_spryker_install() {
116116 # database exists
117117 # check if spryker is installed
118118 set +e
119- psql -U " $DATABASE_USER " -h " $DATABASE_HOST " -c " SELECT EXISTS (SELECT * FROM information_schema.tables WHERE table_catalog = '$DATABASE_NAME ' AND table_name = 'spy_locale');" | grep -q f
119+ psql -U " $DATABASE_USER " -h " $DATABASE_HOST " -c " SELECT EXISTS (SELECT * FROM information_schema.tables WHERE table_catalog = '$DATABASE_NAME ' AND table_name = 'spy_locale');" " $DATABASE_NAME " | grep -q f
120120 SPRYKER_INSTALLED=$?
121121 set -e
122122
You can’t perform that action at this time.
0 commit comments