#!/bin/sh

set -e
set -u

# goes to top directory.
cd "$(dirname "${0}")/.."

for db in osu osu_store osu_mp osu_chat osu_charts osu_updates; do
  echo "CREATE DATABASE ${db} DEFAULT CHARSET utf8mb4" | mysql -u root
done

#!/bin/sh

for db in osu osu_store osu_mp osu_chat osu_charts osu_updates; do
  echo "CREATE DATABASE ${db} DEFAULT CHARSET utf8mb4" | mysql -u root
done

Fix script used by docker
Fix script used by docker

The script is run in weird way (presumably to skip exporting variables?) and result in the main shell having nounset and errexit set, breaking the init script.

The script is simple enough already so the options aren't really needed.
