File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 88set -euo pipefail
99
1010SOURCE_ROOT_DIR=" "
11- OUTPUT=" cmake-out-apple "
11+ OUTPUT=" cmake-out"
1212MODE=" Release"
1313TOOLCHAIN=" "
1414PYTHON=$( 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"
188188mkdir -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)
192192if [[ -z " $BUCK2 " ]]; then
193193 echo " Could not find buck2 executable in any buck2-bin directory under $OUTPUT "
194194 BUCK2=$( which buck2)
You can’t perform that action at this time.
0 commit comments