1 2 3 4 5 6
#!/bin/bash set -exuo pipefail job_dir=$(dirname "${BASH_SOURCE[0]}") "${job_dir}"/test.sh