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
36
36
$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 .
37
37
38
38
# 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
41
41
42
42
mkdir -p products
43
43
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
55
55
fi
56
56
57
57
echo " applying patch $patch in $PWD …"
58
+ git apply -C1 " $patch "
58
59
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
67
68
done
68
69
69
70
perl -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