https://github.com/genome/genome
Raw File
Tip revision: 44d575ed2edbf3101faf74fb1eaec1470b13b793 authored by Thomas B. Mooney on 14 April 2021, 18:26:30 UTC
Merge pull request #1998 from tmooney/monitor_jobs_when_call_caching
Tip revision: 44d575e
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