File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed
Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ source ./scripts/toolchain-vars.sh
3636$DOCKER build --build-arg OS_ARCH_SUFFIX=$OS_ARCH_SUFFIX --build-arg SWIFT_TOOLCHAIN_URL=$SWIFT_TOOLCHAIN_URL --build-arg ANDROID_NDK_VERSION=$ANDROID_NDK_VERSION -t swift-android .
3737
3838# Check-out and patch the sources
39- ./scripts/fetch-source.sh --source-dir source --swift-tag ${SWIFT_TAG}
40- ./scripts/patch-sources.sh source
39+ ./scripts/fetch-source.sh --source-dir ${PWD} / source --swift-tag ${SWIFT_TAG}
40+ ./scripts/patch-sources.sh ${PWD} / source
4141
4242mkdir -p products
4343
Original file line number Diff line number Diff line change @@ -55,15 +55,16 @@ for patch in "$swift_android_patch" "$testing_patch" "$dispatch_patch"; do
5555 fi
5656
5757 echo " applying patch $patch in $PWD …"
58+ git apply -C1 " $patch "
5859
59- if git apply -C1 --reverse --check " $patch " > /dev/null 2>&1 ; then
60- echo " already patched"
61- elif git apply -C1 " $patch " ; then
62- echo " done"
63- else
64- echo " failed to apply patch $patch in $PWD "
65- exit 1
66- fi
60+ # if git apply -C1 --reverse --check "$patch" >/dev/null 2>&1 ; then
61+ # echo "already patched"
62+ # elif git apply -C1 "$patch" ; then
63+ # echo "done"
64+ # else
65+ # echo "failed to apply patch $patch in $PWD"
66+ # exit 1
67+ # fi
6768done
6869
6970perl -pi -e ' s%String\(cString: getpass%\"fake\" //%' swiftpm/Sources/PackageRegistryCommand/PackageRegistryCommand+Auth.swift
You can’t perform that action at this time.
0 commit comments