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

Side by Side Diff: build/install-build-deps.sh

Issue 1881043005: install-build-deps: fix syntax error (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash -e 1 #!/bin/bash -e
2 2
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Script to install everything needed to build chromium (well, ideally, anyway) 7 # Script to install everything needed to build chromium (well, ideally, anyway)
8 # See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_i nstructions.md 8 # See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_i nstructions.md
9 9
10 usage() { 10 usage() {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 if ! which lsb_release > /dev/null; then 69 if ! which lsb_release > /dev/null; then
70 echo "ERROR: lsb_release not found in \$PATH" >&2 70 echo "ERROR: lsb_release not found in \$PATH" >&2
71 exit 1; 71 exit 1;
72 fi 72 fi
73 73
74 lsb_release=$(lsb_release --codename --short) 74 lsb_release=$(lsb_release --codename --short)
75 ubuntu_codenames="(precise|trusty|utopic|vivid|wily)" 75 ubuntu_codenames="(precise|trusty|utopic|vivid|wily)"
76 if [ 0 -eq "${do_unsupported-0}" ] && [ 0 -eq "${do_quick_check-0}" ] ; then 76 if [ 0 -eq "${do_unsupported-0}" ] && [ 0 -eq "${do_quick_check-0}" ] ; then
77 if [[ ! $lsb_release =~ $ubuntu_codenames ]]; then 77 if [[ ! $lsb_release =~ $ubuntu_codenames ]]; then
78 echo "ERROR: Only Ubuntu 12.04 (precise), 14.04 (trusty), " \ 78 echo "ERROR: Only Ubuntu 12.04 (precise), 14.04 (trusty), " \
79 "14.10 (utopic), 15.04 (vivid) and 15.10 (wily) " 79 "14.10 (utopic), 15.04 (vivid) and 15.10 (wily) " \
80 "are currently supported" >&2 80 "are currently supported" >&2
81 exit 1 81 exit 1
82 fi 82 fi
83 83
84 if ! uname -m | egrep -q "i686|x86_64"; then 84 if ! uname -m | egrep -q "i686|x86_64"; then
85 echo "Only x86 architectures are currently supported" >&2 85 echo "Only x86 architectures are currently supported" >&2
86 exit 86 exit
87 fi 87 fi
88 fi 88 fi
89 89
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 # only contains libcrypto.so.1.0.0 and not the symlink needed for 469 # only contains libcrypto.so.1.0.0 and not the symlink needed for
470 # linking (libcrypto.so). 470 # linking (libcrypto.so).
471 create_library_symlink /lib/i386-linux-gnu/libcrypto.so.1.0.0 \ 471 create_library_symlink /lib/i386-linux-gnu/libcrypto.so.1.0.0 \
472 /usr/lib/i386-linux-gnu/libcrypto.so 472 /usr/lib/i386-linux-gnu/libcrypto.so
473 473
474 create_library_symlink /lib/i386-linux-gnu/libssl.so.1.0.0 \ 474 create_library_symlink /lib/i386-linux-gnu/libssl.so.1.0.0 \
475 /usr/lib/i386-linux-gnu/libssl.so 475 /usr/lib/i386-linux-gnu/libssl.so
476 else 476 else
477 echo "Skipping symbolic links for NaCl." 477 echo "Skipping symbolic links for NaCl."
478 fi 478 fi
OLDNEW
« 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