https://github.com/genome/genome
Raw File
Tip revision: 252388616b478c90aff249ef596b67e5a6fc4ef7 authored by Avinash Ramu on 05 January 2014, 21:30:50 UTC
update expected output to reflect updated name of models: tst1 changed to hcc1395
Tip revision: 2523886
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