Revision 5038
Added by Aaron Marcuse-Kubitza over 12 years ago
bin/with_all | ||
---|---|---|
10 | 10 |
|
11 | 11 |
# Was run without initial ".", or with insufficient parameters |
12 | 12 |
if test "${BASH_LINENO[1]}" = 0 -o "$#" -lt 1; then |
13 |
echo "Usage: . $self make_target (note initial \".\")"|fold -s >&2 |
|
13 |
echo "Usage: . $self make_target [vars...] (note initial \".\")"\ |
|
14 |
|fold -s >&2 |
|
14 | 15 |
return 2 |
15 | 16 |
fi |
16 | 17 |
|
17 | 18 |
for input in inputs/*/; do |
18 |
eval "make ${input}$1 &"
|
|
19 |
eval "make ${input}$* &"
|
|
19 | 20 |
disown -h "$(jobs|tail -1|"$selfDir/jobspecs")" # ignore SIGHUP |
20 | 21 |
sleep 2 # wait for initial output so that outputs don't become jumbled |
21 | 22 |
done |
Also available in: Unified diff
with_all: Support additional command-line args for the make target, such as vars