[why] if `&` is followed by `wait` is invalid to parallel run, in function do_one_build(), already has `wait`, so delete it.
Signed-off-by: Liu Yinsi liuyinsi@163.com --- sparrow/4-docker/buildall | 1 - 1 file changed, 1 deletion(-)
diff --git a/sparrow/4-docker/buildall b/sparrow/4-docker/buildall index 4fcbac7..e7309fd 100755 --- a/sparrow/4-docker/buildall +++ b/sparrow/4-docker/buildall @@ -70,7 +70,6 @@ do [ "$container_name" == 'ssh-r' ] && continue
build_depends $dir & - wait start_depends $dir done
Delete '&' together?
On Tue, Feb 09, 2021 at 06:25:19PM +0800, Liu Yinsi wrote:
[why] if `&` is followed by `wait` is invalid to parallel run, in function do_one_build(), already has `wait`, so delete it.
Signed-off-by: Liu Yinsi liuyinsi@163.com
sparrow/4-docker/buildall | 1 - 1 file changed, 1 deletion(-)
diff --git a/sparrow/4-docker/buildall b/sparrow/4-docker/buildall index 4fcbac7..e7309fd 100755 --- a/sparrow/4-docker/buildall +++ b/sparrow/4-docker/buildall @@ -70,7 +70,6 @@ do [ "$container_name" == 'ssh-r' ] && continue
build_depends $dir &
- wait start_depends $dir
done
-- 2.23.0
On Tue, Feb 09, 2021 at 07:53:13PM +0800, Wu Fengguang wrote:
Delete '&' together?
ok
Thanks, Yinsi
On Tue, Feb 09, 2021 at 06:25:19PM +0800, Liu Yinsi wrote:
[why] if `&` is followed by `wait` is invalid to parallel run, in function do_one_build(), already has `wait`, so delete it.
Signed-off-by: Liu Yinsi liuyinsi@163.com
sparrow/4-docker/buildall | 1 - 1 file changed, 1 deletion(-)
diff --git a/sparrow/4-docker/buildall b/sparrow/4-docker/buildall index 4fcbac7..e7309fd 100755 --- a/sparrow/4-docker/buildall +++ b/sparrow/4-docker/buildall @@ -70,7 +70,6 @@ do [ "$container_name" == 'ssh-r' ] && continue
build_depends $dir &
- wait start_depends $dir
done
-- 2.23.0