From 159c19ac7b7e2cb6a320ef95d80b9efc40c1c430 Mon Sep 17 00:00:00 2001 From: Kai Liu Date: Thu, 15 Aug 2013 14:49:31 -0700 Subject: [PATCH] Fix Jenkin build failure Summary: Previously I changed the line `source ./fbcode.gcc471.sh` to `source fbcode.gcc471.sh`. It works in my devbox but failed in some jenkin servers. I revert the previous code to make sure it works well under all circumstances. Test Plan: Test in the jenkin server as well as dev box. Reviewers: CC: Task ID: # Blame Rev: --- build_tools/build_detect_platform | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_tools/build_detect_platform b/build_tools/build_detect_platform index f051ec44f8..c2749c1f1b 100755 --- a/build_tools/build_detect_platform +++ b/build_tools/build_detect_platform @@ -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