#!/bin/bash -e # Ensure this dir and bin directory are in the path dir=`dirname $0` PATH="$dir:$dir/../bin:$dir/../bin/${MACHTYPE}:${PATH}" # FIXME: need ot parameterize or figure out version; check for unreadable dirs. db=hg13test version1=132.0 version2=133.0 shopt -s nullglob rm -f core.* rm -rf out mkdir -p out reset-db chmod ug+rwx data/processed/* data/aligned/* chmod ug+rwx data/processed/*/* aligned/*/$db/* chmod a-rwx data/processed/*${version2} data/aligned/*${version2} db-load-test -initialLoad all chmod ug+rwx data/processed/* data/aligned/* db-load-test -extFileUpdate newrel