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

5 lines
179 B
Bash
Raw Normal View History

2017-12-18 14:02:24 +00:00
#!/bin/sh
MYDIR=$(dirname "$(readlink -f "$0")")
sqlite3 "${MYDIR}/../otadb.db3" < "${MYDIR}/../sql/dbschema.sql"
sqlite3 "${MYDIR}/../otadb.db3" < "${MYDIR}/../sql/basedata.sql"