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

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

Issue 10299: Replace 7z with ar (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 1 month 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 | Annotate | Revision Log
« 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/sh 1 #!/bin/sh
2 # Script to install everything needed to build chromium (well, ideally, anyway) 2 # Script to install everything needed to build chromium (well, ideally, anyway)
3 # See http://code.google.com/p/chromium/wiki/LinuxBuildInstructions 3 # See http://code.google.com/p/chromium/wiki/LinuxBuildInstructions
4 # and http://code.google.com/p/chromium/wiki/LinuxBuild64Bit 4 # and http://code.google.com/p/chromium/wiki/LinuxBuild64Bit
5 set -ex 5 set -ex
6 6
7 # TODO(dkegel): add sha1sum verification 7 # TODO(dkegel): add sha1sum verification
8 download() { 8 download() {
9 dir=$1 9 dir=$1
10 file=$2 10 file=$2
11 if ! test -f $file 11 if ! test -f $file
12 then 12 then
13 wget $MIRROR/$dir/$file 13 wget $MIRROR/$dir/$file
14 fi 14 fi
15 } 15 }
16 16
17 unpack_deb() { 17 unpack_deb() {
18 file=$1 18 file=$1
19 7z x $file 19 ar x $file
20 tar -xzvf data.tar.gz 20 tar -xzvf data.tar.gz
21 rm -f data.tar.gz control.tar.gz 21 rm -f data.tar.gz control.tar.gz
22 } 22 }
23 23
24 download_deb() { 24 download_deb() {
25 download $1 $2 25 download $1 $2
26 unpack_deb $2 26 unpack_deb $2
27 } 27 }
28 28
29 install_hardy() { 29 install_hardy() {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 then 98 then
99 install_hardy 99 install_hardy
100 elif grep -q "Ubuntu 8.04" /etc/issue && test `uname -m` = x86_64 100 elif grep -q "Ubuntu 8.04" /etc/issue && test `uname -m` = x86_64
101 then 101 then
102 install_hardy_64 102 install_hardy_64
103 else 103 else
104 echo "Unsupported system" 104 echo "Unsupported system"
105 exit 1 105 exit 1
106 fi 106 fi
107 107
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