#!/bin/bash

destination=$1

bindir=$(dirname $0)
topdir=$(dirname $bindir)

cd $topdir

mkdir $destination
cp -rf README crimp.fossil bin lib \
    $destination/

cd $destination
fossil scrub --verily --force crimp.fossil

mkdir dev
cd    dev
fossil open ../crimp.fossil
