https://github.com/genome/genome
Revision 953c136c01f2467274cb424d7be250562502968b authored by Adam Coffman on 12 August 2014, 15:14:09 UTC, committed by Adam Coffman on 12 August 2014, 15:14:09 UTC
1 parent 1a5f6bc
Raw File
Tip revision: 953c136c01f2467274cb424d7be250562502968b authored by Adam Coffman on 12 August 2014, 15:14:09 UTC
make config_item field optional in UR as well as database
Tip revision: 953c136
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