libstarlight/maketest.sh
2017-01-21 18:52:17 -05:00

16 lines
208 B
Bash

#!/bin/bash
function abort {
echo Make or send failed
exit
}
mode=send
if [ "$1" = "c" ]; then
mode=run
fi
cd libstarlight
make install || abort
cd ../testbed
make clean
make $mode || abort
cd ..