From 56b1eb81d2e7b444b70c2a05756122ae1c37d5a1 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Fri, 28 Feb 2020 16:32:18 +0300 Subject: [PATCH] update transfer DB_PASS --- Makefile | 2 +- tests/bin/install.sh | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index b231783..fb8f0c9 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ compile_pot: msgfmt resources/pot/retailcrm-es_ES.pot -o src/languages/retailcrm-es_ES.mo install: - bash tests/bin/install.sh $(DB_NAME) $(DB_USER) $(DB_PASS) $(DB_HOST) $(WP_VERSION) $(WC_VERSION) $(SKIP_DB_CREATE) + bash tests/bin/install.sh $(DB_NAME) $(DB_USER) $(DB_HOST) $(WP_VERSION) $(WC_VERSION) $(DB_PASS) $(SKIP_DB_CREATE) ifeq ($(USE_COMPOSER),1) composer install endif diff --git a/tests/bin/install.sh b/tests/bin/install.sh index 264afce..f3a3c60 100755 --- a/tests/bin/install.sh +++ b/tests/bin/install.sh @@ -8,10 +8,10 @@ fi DB_NAME=$1 DB_USER=$2 -DB_PASS=$3 -DB_HOST=${4-localhost} -WP_VERSION=${5-latest} -WC_VERSION=${6-3.9.0} +DB_HOST=${3-localhost} +WP_VERSION=${4-latest} +WC_VERSION=${5-3.9.0} +DB_PASS=${6-''} SKIP_DB_CREATE=${7-false} WP_TESTS_DIR=${WP_TESTS_DIR-/tmp/wordpress-tests-lib}