summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authormmoss@chromium.org <mmoss@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 17:30:48 +0000
committermmoss@chromium.org <mmoss@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 17:30:48 +0000
commit12de04f60fab9339e04de8bb5078e1585ac5c9d9 (patch)
treebde2acf5ee1196ceab5b7de34f076fd3585f41a4 /build
parent822762da239d0443ca82d197593fb3e2df05a37f (diff)
downloadchromium_src-12de04f60fab9339e04de8bb5078e1585ac5c9d9.zip
chromium_src-12de04f60fab9339e04de8bb5078e1585ac5c9d9.tar.gz
chromium_src-12de04f60fab9339e04de8bb5078e1585ac5c9d9.tar.bz2
Avoid exit due to "-e" and test failure on non-x86_64.
Review URL: http://codereview.chromium.org/164265 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23042 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rwxr-xr-xbuild/install-build-deps.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/build/install-build-deps.sh b/build/install-build-deps.sh
index 72caaed..c5f4d5f 100755
--- a/build/install-build-deps.sh
+++ b/build/install-build-deps.sh
@@ -168,8 +168,10 @@ sudo apt-get update
# without accidentally promoting any packages from "auto" to "manual".
# We then re-run "apt-get" with just the list of missing packages.
echo "Finding missing packages..."
-packages="${dev_list} ${lib_list} ${dbg_list}
- $([ "$(uname -m)" = "x86_64" ] && echo ${cmp_list})"
+packages="${dev_list} ${lib_list} ${dbg_list}"
+if [ "$(uname -m)" = "x86_64" ]; then
+ packages+=" ${cmp_list})"
+fi
# Intentially leaving $packages unquoted so it's more readable.
echo "Packages required: " $packages
echo