File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -55,12 +55,12 @@ file_env() {
5555 unset " $fileVar "
5656}
5757
58- # usage: docker_process_init_file FILENAME MYSQLCOMMAND...
59- # ie: docker_process_init_file foo.sh mysql -uroot
58+ # usage: docker_process_init_files FILENAME MYSQLCOMMAND...
59+ # ie: docker_process_init_files foo.sh mysql -uroot
6060# (process a single initializer file, based on its extension. we define this
6161# function here, so that initializer scripts (*.sh) can use the same logic,
6262# potentially recursively, or override the logic used in subsequent calls)
63- docker_process_init_file () {
63+ docker_process_init_files () {
6464 local f=" $1 " ; shift
6565 local mysql=( " $@ " )
6666
@@ -302,7 +302,7 @@ docker_main() {
302302
303303 echo
304304 for f in /docker-entrypoint-initdb.d/* ; do
305- docker_process_init_file " $f " " ${mysql[@]} "
305+ docker_process_init_files " $f " " ${mysql[@]} "
306306 done
307307
308308 if [ ! -z " $MYSQL_ONETIME_PASSWORD " ]; then
You can’t perform that action at this time.
0 commit comments