mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 00:06:09 +03:00
10 lines
445 B
Bash
10 lines
445 B
Bash
|
#!/bin/sh
|
||
|
set -ex
|
||
|
|
||
|
CLANG_REVISION=$(grep -m1 CLANG_REVISION tools/clang/scripts/update.py | cut -d"'" -f2)
|
||
|
CLANG_SUB_REVISION=$(grep -m1 CLANG_SUB_REVISION tools/clang/scripts/update.py | cut -d= -f2)
|
||
|
url="https://commondatastorage.googleapis.com/chromium-browser-clang/Linux_x64/clang-$CLANG_REVISION-$CLANG_SUB_REVISION.tgz"
|
||
|
mkdir -p third_party/llvm-build/Release+Asserts
|
||
|
cd third_party/llvm-build/Release+Asserts
|
||
|
curl "$url" -o- | tar xzf -
|