use wait instead of fg

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-04-06 14:22:44 +02:00
parent 75509dc8a5
commit 1973ac0787

View file

@ -37,7 +37,7 @@ while [ $# -ge 1 ]; do
shift shift
# if not, wait for it _now_ # if not, wait for it _now_
[ "$parallel" ] || fg [ "$parallel" ] || wait
done done
# else wait after all are started # else wait after all are started