mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 08:42:13 +00:00
25b39c3581
The `cd $PATH && pwd` pattern doesn't work when $PATH doesn't exist, so move them in a block only executed when the directory exists. --HG-- extra : rebase_source : 53bd2959dbd9825526a386b6ab5b40a7f67a5d20
10 lines
204 B
Plaintext
10 lines
204 B
Plaintext
if test -d "$topsrcdir/clang/bin"; then
|
|
CLANG_DIR=`cd "$topsrcdir/clang/bin" ; pwd`
|
|
export PATH="${CLANG_DIR}:${PATH}"
|
|
|
|
mk_export_correct_style PATH
|
|
fi
|
|
|
|
export CC=clang-cl
|
|
export CXX=clang-cl
|