File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export PROJECT_NAME="$( basename ${PROJECT_DIR} | tr '[:upper:]' '[:lower:]' )"
4545export DOCKER_COMPOSE_YAML=${PROJECT_DIR} " /etc/test/docker-compose${SHOPWARE_VERSION} .yml"
4646
4747if [ " $1 " != " init" ]; then
48- source ${PACKAGE_DIR} /etc/scripts/checkSdTestEnvironment.sh
48+ source ${PACKAGE_DIR} /etc/scripts/checkSdTestEnvironment.sh ${SHOPWARE_VERSION}
4949fi
5050
5151
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3+ SHOPWARE_VERSION=$1
4+
35if [ ! -d ${PROJECT_DIR} ]; then
46 echo " Project directory not found in \$ PROJECT_DIR. Did you call this script correctly? Cancel."
57 exit 1
68fi
79
8- if [ ! -f ${PROJECT_DIR} /etc/test/docker-compose.yml ]; then
9- echo " No docker-compose.yml file found under ${PROJECT_DIR} /etc/test/docker-compose.yml - Needed for docker setup. Cancel."
10- echo " Perhaps forgot to run 'vendor/bin/sdTest.sh init'?"
10+ if [ ! -f ${PROJECT_DIR} /etc/test/docker-compose${SHOPWARE_VERSION} .yml ]; then
11+ echo " No docker-compose.yml file found under ${PROJECT_DIR} /etc/test/docker-compose${SHOPWARE_VERSION} .yml - Needed for docker setup. Cancel."
12+ echo " Perhaps forgot to run 'vendor/bin/sdTest.sh init [SHOPWARE_VERSION] '?"
1113 exit 1
1214fi
You can’t perform that action at this time.
0 commit comments