remove duplicate reference to file in pipe

This commit is contained in:
Asif Bacchus 2020-11-27 02:03:34 -07:00
parent 4950b472c7
commit 12ca7f99ed

View File

@ -84,7 +84,7 @@ for f in /docker-entrypoint-initdb.d/*.sh; do
*.sql.gz) *.sql.gz)
if [ -s "$f" ]; then if [ -s "$f" ]; then
printf "IMPORT-SQL: Importing %s\n" "$f" printf "IMPORT-SQL: Importing %s\n" "$f"
gunzip -c "$f" | mysqld --user=mysql --bootstrap --verbose=0 --skip-name-resolve --skip-networking=0 < "$f" gunzip -c "$f" | mysqld --user=mysql --bootstrap --verbose=0 --skip-name-resolve --skip-networking=0
printf "\n" printf "\n"
fi fi
;; ;;