blob: 1d95c389c1b76ff3b1459634a33bd61a47dbb39c [file] [log] [blame]
#!/bin/sh
# Download the latest and previous versions of the Chromium url library.
# This makes it easy to run "diff -r -u" and "patch -p2".
top=/tmp/chromium
mkdir $top
prefix=https://chromium.googlesource.com/chromium/src.git/+archive
for version in 56.0.2924.87 57.0.2987.133
do
mkdir $top/$version
cd $top/$version
for d in base build url
do
wget $prefix/$version/$d.tar.gz
mkdir $top/$version/$d
cat $d.tar.gz | gunzip | (cd $top/$version/$d; tar fx -)
done
done