Skip to content

Commit c9d9977

Browse files
committed
gh-162034: Quote and correct the utils.sh path in the iOS docs
The build phase example in Doc/using/ios.rst, and the one in the utils.sh header comment, source an unquoted path to build_utils.sh. The helper is named utils.sh. Quote the path and use the right file name.
1 parent 2a57b05 commit c9d9977

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎Doc/using/ios.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ To add Python to an iOS Xcode project:
226226
.. code-block:: bash
227227
228228
set -e
229-
source $PROJECT_DIR/Python.xcframework/build/build_utils.sh
229+
source "$PROJECT_DIR/Python.xcframework/build/utils.sh"
230230
install_python Python.xcframework app
231231
232232
If you have placed your XCframework somewhere other than the root of your

‎Platforms/Apple/testbed/Python.xcframework/build/utils.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# * There is an `app_packages` folder that contains installed Python packages.
1515
# -----
1616
# set -e
17-
# source $PROJECT_DIR/Python.xcframework/build/build_utils.sh
17+
# source "$PROJECT_DIR/Python.xcframework/build/utils.sh"
1818
# install_python Python.xcframework app app_packages
1919
# -----
2020

0 commit comments

Comments
 (0)