https://github.com/genome/genome
Revision 9a436bbc039fd7c0ecc03e66b18b7bf538f739ed authored by Eddie Belter on 08 January 2013, 00:36:19 UTC, committed by Eddie Belter on 09 January 2013, 18:42:13 UTC
1 parent 14e78fe
Raw File
Tip revision: 9a436bbc039fd7c0ecc03e66b18b7bf538f739ed authored by Eddie Belter on 08 January 2013, 00:36:19 UTC
Sync: update subject tests to accomodatre unsupported class
Tip revision: 9a436bb
rebuild-meta-db
#!/bin/bash
set -o errexit

echo "Creating SQLite DBs:"
for DB_TXT in $(find $WORKSPACE -iname '*sqlite3-dump' -or -iname '*sqlite3n-dump'); do
    DB_BIN=${DB_TXT/-dump/}
    rm -f "$DB_BIN"
    sqlite3 "$DB_BIN" < "$DB_TXT"
    echo -e "\t${DB_BIN/$WORKSPACE\//}"
done
echo "Done creating SQLite DBs."
back to top