Skip to content

Commit f18311f

Browse files
committed
1 parent 68ecf81 commit f18311f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

swift-ci/sdks/android/scripts/patch-sources.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ for patch in "$swift_android_patch" "$testing_patch" "$dispatch_patch"; do
5656

5757
echo "applying patch $patch in $PWD"
5858
# 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"
59+
patch -v --check -C1 < "$patch"
60+
echo "patch --check result: $0"
61+
patch -v -C1 < "$patch"
6262

6363
#if git apply -C1 --reverse --check "$patch" >/dev/null 2>&1 ; then
6464
# echo "already patched"

0 commit comments

Comments
 (0)