summaryrefslogtreecommitdiffstats
path: root/build/install-build-deps.sh
diff options
context:
space:
mode:
authorVanuan@gmail.com <Vanuan@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-10 10:10:03 +0000
committerVanuan@gmail.com <Vanuan@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-10 10:10:03 +0000
commitc3d8b15163fa3cd559c5d9efbfc6e02c32df5e9f (patch)
tree849617a966d41ba0eef62243510747a8c806eb37 /build/install-build-deps.sh
parente6c0633bada8818d20008300e2efcba81c67788f (diff)
downloadchromium_src-c3d8b15163fa3cd559c5d9efbfc6e02c32df5e9f.zip
chromium_src-c3d8b15163fa3cd559c5d9efbfc6e02c32df5e9f.tar.gz
chromium_src-c3d8b15163fa3cd559c5d9efbfc6e02c32df5e9f.tar.bz2
install-build-deps: Non-english locale + Ubuntu 13.04
Added support for installing dependencies on non-english Ubuntu 13.04 BUG=239505 TEST=Tested manually Review URL: https://chromiumcodereview.appspot.com/15085010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199448 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/install-build-deps.sh')
-rwxr-xr-xbuild/install-build-deps.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/install-build-deps.sh b/build/install-build-deps.sh
index 382fc11..3df811a 100755
--- a/build/install-build-deps.sh
+++ b/build/install-build-deps.sh
@@ -41,7 +41,7 @@ do
shift
done
-ubuntu_versions="10\.04|10\.10|11\.04|11\.10|12\.04|12\.10"
+ubuntu_versions="10\.04|10\.10|11\.04|11\.10|12\.04|12\.10|13\.04"
ubuntu_codenames="lucid|maverick|natty|oneiric|precise|quantal"
ubuntu_issue="Ubuntu ($ubuntu_versions|$ubuntu_codenames)"
# GCEL is an Ubuntu-derived VM image used on Google Compute Engine; /etc/issue
@@ -257,7 +257,7 @@ packages="${dev_list} ${lib_list} ${dbg_list} ${arm_list}"
echo "Packages required: " $packages
echo
new_list_cmd="sudo apt-get install --reinstall $(echo $packages)"
-if new_list="$(yes n | LANG=C $new_list_cmd)"; then
+if new_list="$(yes n | LANGUAGE=en LANG=C $new_list_cmd)"; then
# We probably never hit this following line.
echo "No missing packages, and the packages are up-to-date."
elif [ $? -eq 1 ]; then