mirror of
https://github.com/facebook/sapling.git
synced 2024-10-05 22:37:37 +03:00
a29d465ee8
Summary: With Facebook having been renamed Meta Platforms, we need to change the license headers. Reviewed By: fanzeyi Differential Revision: D33407812 fbshipit-source-id: b11bfbbf13a48873f0cea75f212cc7b07a68fb2e
24 lines
642 B
Bash
Executable File
24 lines
642 B
Bash
Executable File
#!/bin/bash
|
|
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
#
|
|
# This software may be used and distributed according to the terms of the
|
|
# GNU General Public License version 2.
|
|
|
|
TOOLCHAIN_DIR=/opt/rh/devtoolset-8/root/usr/bin
|
|
if [[ -d "$TOOLCHAIN_DIR" ]]; then
|
|
PATH="$TOOLCHAIN_DIR:$PATH"
|
|
fi
|
|
|
|
SCRIPT_DIR=$(dirname "${BASH_SOURCE[0]}")
|
|
GETDEPS_PATHS=(
|
|
"$SCRIPT_DIR/build/fbcode_builder/getdeps.py"
|
|
"$SCRIPT_DIR/../../opensource/fbcode_builder/getdeps.py"
|
|
)
|
|
for getdeps in "${GETDEPS_PATHS[@]}"; do
|
|
if [[ -x "$getdeps" ]]; then
|
|
exec "$getdeps" build eden "$@"
|
|
fi
|
|
done
|
|
echo "Could not find getdeps.py" >&2
|
|
exit 1
|