1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/sh BUILDDIR=${BUILDDIR:-build} mkdir -p $BUILDDIR function test_check_retval { TEST_RETVAL=$? if [ $TEST_RETVAL != 0 ] then exit $TEST_RETVAL fi }