comparison ringtools/examples/compile.sh @ 869:7be2220d52c5

ringtools/examples: add compile.sh like in e1-experiments
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 28 Mar 2022 06:03:34 +0000
parents ringtools/e1-experiments/compile.sh@64b37ad18f7a
children
comparison
equal deleted inserted replaced
868:f6c379f0cbbe 869:7be2220d52c5
1 #!/bin/sh
2
3 if [ $# != 1 ]
4 then
5 echo "usage: $0 test_melody_name" 1>&2
6 exit 1
7 fi
8
9 if [ ! -f "$1.pwt" ]
10 then
11 echo "error: can't find $1.pwt" 1>&2
12 exit 1
13 fi
14
15 exec ../fc-pwt-comp "$1.pwt" "$1.bz"