aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/prepare_travis.sh
blob: 2be86270ddc2c2ba8aa436f59d1d6b8428e32e7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

cd `dirname $0`/../..
grpc_dir=`pwd`

distrib=`md5sum /etc/issue | cut -f1 -d\ `
git submodule | while read sha path extra ; do
  cd /tmp
  name=`basename $path`
  file=$name-$sha-$CONFIG-prebuilt-$distrib.tar.gz
  echo $file
  url=http://storage.googleapis.com/grpc-prebuilt-packages/$file
  wget -q $url && tar xfz $file || true
done