We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0e7d892 + 70ee402 commit 31fb3f9Copy full SHA for 31fb3f9
tools/test/travis-ci/functions.sh
@@ -93,6 +93,9 @@ _fetch_deps()
93
{
94
local pkg="${1}"
95
local dep_list="${2}"
96
+ local pid_list=""
97
+
98
+ local PID;
99
100
info "Fetching '${pkg}' archives"
101
@@ -103,9 +106,17 @@ _fetch_deps()
103
106
|| die "Download failed ('${dep}')" \
104
107
&& info "Fetched ${deps_url}/${dep}.deb" &
105
108
109
+ PID=$!
110
+ pid_list="${pid_list} ${PID}"
111
112
done <<< "${dep_list}"
113
- wait
114
+ # Ignoring shellcheck warning, since we need to allow parameter expansion to
115
+ # turn the list string into parametesr.
116
+ # shellcheck disable=SC2086
117
+ wait ${pid_list}
118
119
+ info "Fetch completed."
120
}
121
122
0 commit comments