summaryrefslogtreecommitdiff
path: root/import/00_base_import.sh
blob: dffcdb57bc6c6ad964b06208e458506516db8cc7 (plain)
1
2
3
4
5
6
7
#!/bin/bash
pushd $(dirname $0) > /dev/null
if [ ! -f ../fetcher/f1db.sql ]; then
    ../fetcher/fetch.sh
fi
< ../fetcher/f1db.sql mysql "$@"
popd > /dev/null