#!/bin/sh

if [ $# != 1 ]
then
	echo "usage: $0 test_melody_name" 1>&2
	exit 1
fi

if [ ! -f "$1.pwt" ]
then
	echo "error: can't find $1.pwt" 1>&2
	exit 1
fi

exec ../fc-pwt-comp "$1.pwt" "$1.bz"
