Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2612)

Unified Diff: build/install-build-deps.sh

Issue 1721763003: Silence dpkg-query errors in install-build-deps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/install-build-deps.sh
diff --git a/build/install-build-deps.sh b/build/install-build-deps.sh
index c0d8d99ae09d3f2ea0142d934f3ddd027937adab..04f6e59eeae7ee5c567e41baf889df909236c756 100755
--- a/build/install-build-deps.sh
+++ b/build/install-build-deps.sh
@@ -182,7 +182,7 @@ nacl_list="g++-mingw-w64-i686 lib32z1-dev
# be more than one with the same name in the case of multiarch). Expand into an
# array.
mesa_packages=($(dpkg-query -Wf'${package} ${status}\n' \
- libgl1-mesa-glx-lts-\* | \
+ libgl1-mesa-glx-lts-\* 2>/dev/null | \
grep " ok installed" | cut -d " " -f 1 | sort -u))
if [ "${#mesa_packages[@]}" -eq 0 ]; then
mesa_variant=""
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698