Skip to content

Commit 2927ed2

Browse files
authored
Update build_apple_frameworks.sh
1 parent 2e7bad0 commit 2927ed2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/build_apple_frameworks.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ cmake_build() {
204204
cmake --build . \
205205
--config "$mode" \
206206
--verbose
207-
cd ..
207+
cd -
208208
}
209209

210210
for index in ${!PLATFORMS[*]}; do
@@ -282,6 +282,7 @@ for platform in "${PLATFORMS[@]}"; do
282282
done
283283

284284
rm -rf "$HEADERS_PATH"
285+
cd - || exit 1
285286

286287
echo "Running tests"
287288

0 commit comments

Comments
 (0)