Skip to content

Commit 131a5f0

Browse files
author
Cynthia Jiang
committed
address review comment
1 parent af65a62 commit 131a5f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build_ios.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export LANG=en_US.UTF-8
4646

4747
# check options
4848
IFS=',' # split options on ',' characters
49-
while getopts ":h:b:s:p:a:c" opt; do
49+
while getopts "hb:s:p:a:c:" opt; do
5050
case $opt in
5151
h)
5252
usage
@@ -132,7 +132,7 @@ mkdir -p "$buildpath"
132132
pushd "$buildpath"
133133

134134
# Configure cmake with option value
135-
cmake .. -DCMAKE_TOOLCHAIN_FILE=${sourcepath}/cmake/unity_ios.cmake -DCMAKE_OSX_ARCHITECTURES=$SUPPORTED_ARCHITECTURES ${CMAKE_OPTIONS} ${cmake_extra}
135+
cmake ${sourcepath} -DCMAKE_TOOLCHAIN_FILE=${sourcepath}/cmake/unity_ios.cmake -DCMAKE_OSX_ARCHITECTURES=$SUPPORTED_ARCHITECTURES ${CMAKE_OPTIONS} ${cmake_extra}
136136
check_exit_code $?
137137

138138
# Build the SDK

0 commit comments

Comments
 (0)