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.
1 parent 94505eb commit 80674a3Copy full SHA for 80674a3
make-dist
@@ -35,7 +35,8 @@ echo "version $version"
35
# update submodules
36
echo "updating submodules..."
37
force=$(if git submodule usage 2>&1 | grep --quiet 'update.*--force'; then echo --force ; fi)
38
-if ! git submodule sync || ! git submodule update $force --init --recursive --progress; then
+quiet_or_progress=$(if test -n "$JENKINS_URL"; then echo --quiet; else echo --progress; fi)
39
+if ! git submodule sync || ! git submodule update $force --init --recursive $quiet_or_progress; then
40
echo "Error: could not initialize submodule projects"
41
echo " Network connectivity might be required."
42
exit 1
0 commit comments