Skip to content

Commit a05b373

Browse files
committed
up
1 parent 1b876ca commit a05b373

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build/build_apple_frameworks.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
set -euo pipefail
99

1010
SOURCE_ROOT_DIR=""
11-
OUTPUT="cmake-out-apple"
11+
OUTPUT="cmake-out"
1212
MODE="Release"
1313
TOOLCHAIN=""
1414
PYTHON=$(which python3)
@@ -76,7 +76,7 @@ usage() {
7676
echo "SOURCE_ROOT_DIR defaults to the current directory if not provided."
7777
echo
7878
echo "Options:"
79-
echo " --output=DIR Output directory. Default: 'cmake-out-apple'"
79+
echo " --output=DIR Output directory. Default: 'cmake-out'"
8080
echo " --Debug Use Debug build mode. Default: Uses Release build mode."
8181
echo " --toolchain=FILE Cmake toolchain file. Default: '\$SOURCE_ROOT_DIR/third-party/ios-cmake/ios.toolchain.cmake'"
8282
echo " --python=FILE Python executable path. Default: Path of python3 found in the current \$PATH"
@@ -188,7 +188,7 @@ echo "Exporting headers"
188188
mkdir -p "$HEADERS_PATH"
189189

190190
# Set BUCK2 to the path of the buck2 executable in $OUTPUT/*/buck2-bin/buck2-*
191-
BUCK2=$(find ${SOURCE_ROOT_DIR}/buck2-bin -type f -name "buck2-*" | head -n 1)
191+
BUCK2=$(find . -type f -path '*/buck2-bin/buck2-*' | head -n 1)
192192
if [[ -z "$BUCK2" ]]; then
193193
echo "Could not find buck2 executable in any buck2-bin directory under $OUTPUT"
194194
BUCK2=$(which buck2)

0 commit comments

Comments
 (0)