Modify build_detect_platform to run fbcode.*.* irrespective of $PATH

Summary: This caused crash when the jenkins machine changed because the PATH variable is different.

Test Plan: make

Reviewers: dhruba, sheki

Reviewed By: sheki

CC: leveldb

Differential Revision: https://reviews.facebook.net/D10803
This commit is contained in:
Mayank Agarwal 2013-05-14 16:08:03 -07:00
parent accd3debbb
commit 8c9411c637

View File

@ -31,9 +31,9 @@ fi
# Default to fbcode gcc on internal fb machines
if [ -d /mnt/gvfs/third-party -a -z "$CXX" ]; then
if [ -z "$USE_CLANG" ]; then
source fbcode.gcc471.sh
source ./fbcode.gcc471.sh
else
source fbcode.clang31.sh
source ./fbcode.clang31.sh
fi
fi