Revision 8284
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/util.run | ||
---|---|---|
43 | 43 |
fi |
44 | 44 |
} |
45 | 45 |
|
46 |
fwd () # usage: fwd "$FUNCNAME" "$@" |
|
46 |
fwd () # usage: subdirs=(...); fwd "$FUNCNAME" "$@"
|
|
47 | 47 |
{ |
48 | 48 |
echo_func "$FUNCNAME" "$@" |
49 |
: "${subdirs?}" |
|
50 |
|
|
49 | 51 |
for subdir in "${subdirs[@]}"; do |
50 | 52 |
"$(dirname "${BASH_SOURCE[1]}")"/"$subdir"/run "$@" |
51 | 53 |
done |
Also available in: Unified diff
lib/util.run: fwd: Check that $subdirs is defined. Added $subdirs to usage.