#!/usr/bin/env bash

set -e

outdir=$1
indir=$(pwd)

pushd $outdir
cp -r $indir/bedpost .

bedpostx_gpu bedpost