updated mariadb.sh

pull/2/head
Hari Sekhon 4 years ago
parent 7ad7ec0834
commit f4fd585cd2

@ -190,6 +190,7 @@ docker_exec_opts="-w /sql -i"
# allow non-interactive piped automation to avoid tty errors eg.
# for sql in mysql*.sql; do echo "source $sql"; done | mariadb.sh
# normally you would just 'mariadb.sh mysql*.sql' but this is used by mariadb_test_scripts.sh
if is_interactive && [ -z "${DOCKER_NON_INTERACTIVE:-}" ]; then
docker_exec_opts+=" -t"
fi

Loading…
Cancel
Save