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

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

Issue 2137002: install-build-deps.sh: Add missing sudos. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 7 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 057b76b0d8554dd9cb659ab7dd7754911c1f865c..4237101e0f16cae5f0da6fcbe2cf9275dcbb9678 100755
--- a/build/install-build-deps.sh
+++ b/build/install-build-deps.sh
@@ -328,7 +328,7 @@ if [ "$(uname -m)" = "x86_64" ]; then
echo "First, installing the limited existing 32-bit support..."
cmp_list="ia32-libs lib32asound2-dev lib32readline5-dev lib32stdc++6 lib32z1
lib32z1-dev libc6-dev-i386 libc6-i386 g++-multilib"
- apt-get install $cmp_list
+ sudo apt-get install $cmp_list
tmp=/tmp/install-32bit.$$
trap 'rm -rf "${tmp}"' EXIT INT TERM QUIT
@@ -346,11 +346,11 @@ EOF
# Download 32bit packages
echo "Computing list of available 32bit packages..."
- apt-get -c="${tmp}/apt/apt.conf" update
+ sudo apt-get -c="${tmp}/apt/apt.conf" update
echo "Downloading available 32bit packages..."
- apt-get -c="${tmp}/apt/apt.conf" \
- --yes --download-only --force-yes --reinstall install \
+ sudo apt-get -c="${tmp}/apt/apt.conf" \
+ --yes --download-only --force-yes --reinstall install \
${lib_list} ${dbg_list}
# Open packages, remove everything that is not a library, move the
« 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