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:
main
Kai Liu 11 years ago
parent 457dcc605a
commit 159c19ac7b
  1. 4
      build_tools/build_detect_platform

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

Loading…
Cancel
Save