mirror of
https://github.com/mozilla/cubeb
synced 2024-11-21 14:29:11 -07:00
Use the variable in the scan-build install script.
This commit is contained in:
parent
a8b016f197
commit
b42cac7ea7
1 changed files with 2 additions and 3 deletions
|
@ -4,13 +4,12 @@ CLANG_CHECKER_NAME=checker-278
|
||||||
|
|
||||||
cd ~
|
cd ~
|
||||||
|
|
||||||
if [ ! -d checker-278 ]
|
if [ ! -d ~/$CLANG_CHECKER_NAME ]
|
||||||
then
|
then
|
||||||
curl http://clang-analyzer.llvm.org/downloads/checker-278.tar.bz2 -o ~/$CLANG_CHECKER_NAME.tar.bz2
|
curl http://clang-analyzer.llvm.org/downloads/$CLANG_CHECKER_NAME.tar.bz2 -o ~/$CLANG_CHECKER_NAME.tar.bz2
|
||||||
tar -xf ~/$CLANG_CHECKER_NAME.tar.bz2
|
tar -xf ~/$CLANG_CHECKER_NAME.tar.bz2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export SCAN_BUILD_PATH=~/$CLANG_CHECKER_NAME/bin/scan-build
|
export SCAN_BUILD_PATH=~/$CLANG_CHECKER_NAME/bin/scan-build
|
||||||
export PATH=$PATH:$SCAN_BUILD_PATH/bin
|
|
||||||
|
|
||||||
cd -
|
cd -
|
||||||
|
|
Loading…
Reference in a new issue