mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-20 17:20:12 +01:00
Use correct var for detecting MySQL
This commit is contained in:
parent
e70a569511
commit
24c4634a7b
5 changed files with 5 additions and 5 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
echo "==> Polling DB…"
|
||||
|
||||
if [ "$DATABASE_TYPE" == "mysql" ]; then
|
||||
if [ "$1" == "mysql" ]; then
|
||||
appdir=$(cd $(dirname "$0")/.. && pwd)
|
||||
[ -f /etc/app-env ] || exec "$appdir/script/docker-environment" $0 $@
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue