summaryrefslogtreecommitdiff
path: root/import/00_base_import.sh
diff options
context:
space:
mode:
Diffstat (limited to 'import/00_base_import.sh')
-rwxr-xr-ximport/00_base_import.sh8
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