mirror of
https://github.com/Labelbase/Labelbase.git
synced 2026-08-13 12:33:23 +02:00
Fix for build script
This commit is contained in:
parent
0687e9c0ba
commit
f4c43f7cd1
1 changed files with 6 additions and 4 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue