File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
spryker/usr/local/share/spryker Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ do_spryker_generate_files() {
104
104
do_spryker_install () {
105
105
# check if database exists (it is supposed to be created by postgres container)
106
106
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 "
108
108
DATABASE_EXISTS=$?
109
109
set -e
110
110
@@ -116,7 +116,7 @@ do_spryker_install() {
116
116
# database exists
117
117
# check if spryker is installed
118
118
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
120
120
SPRYKER_INSTALLED=$?
121
121
set -e
122
122
You can’t perform that action at this time.
0 commit comments