We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68ecf81 commit f18311fCopy full SHA for f18311f
swift-ci/sdks/android/scripts/patch-sources.sh
@@ -56,9 +56,9 @@ for patch in "$swift_android_patch" "$testing_patch" "$dispatch_patch"; do
56
57
echo "applying patch $patch in $PWD…"
58
# first check to make sure the patches can apply and fail if not
59
- git apply -v --check -C1 "$patch"
60
- echo "git apply --check result: $0"
61
- git apply -v -C1 "$patch"
+ patch -v --check -C1 < "$patch"
+ echo "patch --check result: $0"
+ patch -v -C1 < "$patch"
62
63
#if git apply -C1 --reverse --check "$patch" >/dev/null 2>&1 ; then
64
# echo "already patched"
0 commit comments