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

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

Issue 92013: Handle the more verbose apt-get output format sometimes seen ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 8 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
===================================================================
--- build/install-build-deps.sh (revision 14185)
+++ build/install-build-deps.sh (working copy)
@@ -101,11 +101,11 @@
# We then re-run "apt-get" with just the list of missing packages.
echo "Finding missing packages..."
new_list="$(yes n |
- sudo apt-get install --reinstall \
+ LANG=C sudo apt-get install --reinstall \
${dev_list} ${lib_list} ${dbg_list} \
$([ "$(uname -m)" = x86_64 ] && echo ${cmp_list}) \
2>/dev/null |
- sed -e 's/^ //;t;d')"
+ sed -e '1,/The following NEW packages will be installed:/d;s/^ //;t;d')"
echo "Installing missing packages..."
sudo apt-get install ${new_list}
« 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