Skip to content

Commit cdbd187

Browse files
committed
Quote arguments to build scripts
1 parent 84e885a commit cdbd187

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

swift-ci/sdks/android/build-docker

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ $DOCKER run -i --rm \
5959
-v ${WORKDIR}/products:/products:rw \
6060
${CONTAINER_NAME} \
6161
/scripts/build.sh \
62-
--source-dir /source \
63-
--products-dir /products \
64-
--host-toolchain /usr/local/swift \
65-
--build-compiler ${BUILD_COMPILER} \
66-
--android-api ${ANDROID_API} \
67-
--ndk-home /usr/local/ndk/${ANDROID_NDK_VERSION} \
68-
--archs ${TARGET_ARCHS}
62+
--source-dir "/source" \
63+
--products-dir "/products" \
64+
--host-toolchain "/usr/local/swift" \
65+
--build-compiler "${BUILD_COMPILER}" \
66+
--android-api "${ANDROID_API}" \
67+
--ndk-home "/usr/local/ndk/${ANDROID_NDK_VERSION}" \
68+
--archs "${TARGET_ARCHS}"

swift-ci/sdks/android/build-local

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ ${WORKDIR}/source/swift-android-patches/apply-patches.sh ${WORKDIR}/source/swift
5757
mkdir -p ${WORKDIR}/products
5858

5959
./scripts/build.sh \
60-
--source-dir ${WORKDIR}/source \
61-
--products-dir ${WORKDIR}/products \
62-
--build-dir ${WORKDIR}/build \
63-
--build-compiler ${BUILD_COMPILER} \
64-
--host-toolchain ${HOST_TOOLCHAIN} \
65-
--android-api ${ANDROID_API} \
66-
--ndk-home ${ANDROID_NDK_HOME} \
67-
--archs ${TARGET_ARCHS}
60+
--source-dir "${WORKDIR}/source" \
61+
--products-dir "${WORKDIR}/products" \
62+
--build-dir "${WORKDIR}/build" \
63+
--build-compiler "${BUILD_COMPILER}" \
64+
--host-toolchain "${HOST_TOOLCHAIN}" \
65+
--android-api "${ANDROID_API}" \
66+
--ndk-home "${ANDROID_NDK_HOME}" \
67+
--archs "${TARGET_ARCHS}"

0 commit comments

Comments
 (0)