view ringtools/fc-meltest-pwt @ 876:9998c015a687

ringtools/fc-meltest-pwt: shell script created, works as expected
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 30 Mar 2022 20:11:34 +0000
parents
children 5b68ba735e98
line wrap: on
line source

#!/bin/sh

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

tmpfile=/tmp/fc-test-melody.bz

set -ex

fc-pwt-comp "$1" $tmpfile
fc-fsio upload-file $tmpfile /buz/test.bz
fc-shell 'at@buz="/buz/test.bz"'