FreeCalypso > hg > freecalypso-tools
annotate ringtools/e1-experiments/compile.sh @ 303:7de38a7e1fa5
c1xx-calextr: Rx calchan conversion implemented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 20 Nov 2017 06:10:54 +0000 |
parents | 64b37ad18f7a |
children |
rev | line source |
---|---|
173
64b37ad18f7a
e1-experiments: better test setup
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 #!/bin/sh |
64b37ad18f7a
e1-experiments: better test setup
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
64b37ad18f7a
e1-experiments: better test setup
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 if [ $# != 1 ] |
64b37ad18f7a
e1-experiments: better test setup
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 then |
64b37ad18f7a
e1-experiments: better test setup
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 echo "usage: $0 test_melody_name" 1>&2 |
64b37ad18f7a
e1-experiments: better test setup
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 exit 1 |
64b37ad18f7a
e1-experiments: better test setup
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 fi |
64b37ad18f7a
e1-experiments: better test setup
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
64b37ad18f7a
e1-experiments: better test setup
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 if [ ! -f "$1.src" ] |
64b37ad18f7a
e1-experiments: better test setup
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 then |
64b37ad18f7a
e1-experiments: better test setup
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 echo "error: can't find $1.src" 1>&2 |
64b37ad18f7a
e1-experiments: better test setup
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 exit 1 |
64b37ad18f7a
e1-experiments: better test setup
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 fi |
64b37ad18f7a
e1-experiments: better test setup
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 |
64b37ad18f7a
e1-experiments: better test setup
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 exec ../fc-e1gen "$1.src" "$1.bin" |