Use no-verbose to reduce wget command verbosity however keep the
progress indicator as it's useful to track download speed. Also switch
the progress indicator to use giga to cut down on verbosity of the
progress output.
Change-Id: I0ef035dd70e5e92336c6bc00e17941b45be401ef
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
# Do not fail the build if there is trouble trying to collect distribution patch diffs
set +e
-wget --progress=dot:mega $ACTUALBUNDLEURL
+wget --no-verbose --show-progress --progress=dot:giga $ACTUALBUNDLEURL
echo "Extracting the last distribution found on nexus..."
unzip -q $BUNDLE
mv $BUNDLEFOLDER /tmp/distro_old
cd /tmp
echo "Downloading the distribution from ${ACTUALBUNDLEURL}"
-wget --progress=dot:mega '${ACTUALBUNDLEURL}'
+wget --no-verbose --show-progress --progress=dot:giga '${ACTUALBUNDLEURL}'
echo "Extracting the new controller..."
unzip -q ${BUNDLE}
rm -rf *
echo "Downloading the distribution..."
-wget --progress=dot:mega ${ACTUALBUNDLEURL}
+wget --no-verbose --show-progress --progress=dot:giga ${ACTUALBUNDLEURL}
echo "Extracting the new controller..."
unzip -q ${BUNDLE}
cd /tmp
echo "Downloading the distribution..."
-wget --progress=dot:mega '${ACTUALBUNDLEURL}'
+wget --no-verbose --show-progress --progress=dot:giga '${ACTUALBUNDLEURL}'
echo "Extracting the new controller..."
unzip -q ${BUNDLE}
rm -rf *
echo "Downloading the distribution..."
-wget --progress=dot:mega ${ACTUALBUNDLEURL}
+wget --no-verbose --show-progress --progress=dot:giga ${ACTUALBUNDLEURL}
echo "Extracting the new controller..."
unzip -q ${BUNDLE}