1
0
mirror of https://github.com/mbirth/tcl_update_db.git synced 2024-11-10 07:16:46 +00:00
tcl_update_db/bin/initdb.sh

5 lines
179 B
Bash
Executable File

#!/bin/sh
MYDIR=$(dirname "$(readlink -f "$0")")
sqlite3 "${MYDIR}/../otadb.db3" < "${MYDIR}/../sql/dbschema.sql"
sqlite3 "${MYDIR}/../otadb.db3" < "${MYDIR}/../sql/basedata.sql"