diff options
Diffstat (limited to 'import')
-rwxr-xr-x | import/00_base_import.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/import/00_base_import.sh b/import/00_base_import.sh new file mode 100755 index 0000000..a5dc396 --- /dev/null +++ b/import/00_base_import.sh @@ -0,0 +1,8 @@ +#!/bin/bash +pushd $(dirname $0) > /dev/null +if [ ! -f ../fetcher/f1db.sql ] +then + ../fetcher/fetch.sh +fi +< ../fetcher/f1db.sql mysql "$@" +popd > /dev/null |