1 2 3 4 5 6
#!/bin/sh set -e cd "$(dirname "$0")" cc -o trigger trigger.c echo "BUILD_EXIT=$?" ls -l trigger 2>/dev/null