diff options
author | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-17 21:16:53 +0000 |
---|---|---|
committer | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-17 21:16:53 +0000 |
commit | a81e44e1ccd4c19de283dcd1e90da04bf8ae0208 (patch) | |
tree | 2b3d6c23d580f3277b8f6bfe8f0fd8f5d77b9c46 /build/install-build-deps.sh | |
parent | b8d5744ac6e978577fd28d26c5e1654a3650b922 (diff) | |
download | chromium_src-a81e44e1ccd4c19de283dcd1e90da04bf8ae0208.zip chromium_src-a81e44e1ccd4c19de283dcd1e90da04bf8ae0208.tar.gz chromium_src-a81e44e1ccd4c19de283dcd1e90da04bf8ae0208.tar.bz2 |
install-build-deps.sh: Add missing sudos.
Some apt commands were being run as the normal user,
resulting in the script dying.
BUG=none
TEST=gave the diff to someone; it fixed the failures for them
Review URL: http://codereview.chromium.org/2137002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47458 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/install-build-deps.sh')
-rwxr-xr-x | build/install-build-deps.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build/install-build-deps.sh b/build/install-build-deps.sh index 057b76b..4237101 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 |