From: Markus Meissner Date: Fri, 20 Sep 2019 23:57:55 +0000 (+0200) Subject: minor, but breaking; no connected [ or ] in expr. in bash allowed X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=64f878afab0adbe72bd78b964b56d840efbf9b1c;p=roundcube-roundcubemail-docker.git minor, but breaking; no connected [ or ] in expr. in bash allowed --- diff --git a/apache/docker-entrypoint.sh b/apache/docker-entrypoint.sh index 76d1cc7..a8f7cbd 100755 --- a/apache/docker-entrypoint.sh +++ b/apache/docker-entrypoint.sh @@ -14,10 +14,10 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then echo >&2 "Complete! ROUNDCUBEMAIL has been successfully copied to $PWD" fi - if [ -f /run/secrets/roundcube_db_user]; then + if [ -f /run/secrets/roundcube_db_user ]; then ROUNDCUBEMAIL_DB_USER=`cat /run/secrets/roundcube_db_user` fi - if [ -f /run/secrets/roundcube_db_password]; then + if [ -f /run/secrets/roundcube_db_password ]; then ROUNDCUBEMAIL_DB_PASSWORD=`cat /run/secrets/roundcube_db_password` fi