1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#!/bin/bash set -e cd "$(realpath `dirname ${0}`)" echo build setsid -w ./build.sh echo for i in s*.sh; do echo $i if ! setsid -w ./$i; then echo "FAILED" exit 1 fi echo done