diff --git a/build-and-run-labelbase.sh b/build-and-run-labelbase.sh index bfa4ec3..b00af70 100755 --- a/build-and-run-labelbase.sh +++ b/build-and-run-labelbase.sh @@ -7,17 +7,19 @@ docker-compose down # make sure Labelbase is terminated. if [[ -z "${MYSQL_ROOT_PASSWORD}" ]]; then echo "Error: MYSQL_ROOT_PASSWORD environment variable is not set" exit 1 -else - export $MYSQL_ROOT_PASSWORD fi if [[ -z "${MYSQL_PASSWORD}" ]]; then echo "Error: MYSQL_PASSWORD environment variable is not set" exit 1 -else - export $MYSQL_PASSWORD fi + +export MYSQL_ROOT_PASSWORD +export MYSQL_PASSWORD + + + # Check git next LAST_GIT_COMMIT_FILE=".last_git_commit"