1 2 3 4 5 6 7 8
#!/usr/bin/env bash set -e type=$1 . "$2" # .do file which we are "interpreting" redo-ifchange "$0" "link-$type.tool" "${objects[@]}" shift 2 . "./link-$type.tool" "${cmd[@]}"