Skip to content

Commit 2075933

Browse files
committed
Apply Git patches one by one and see the result
1 parent a1f9a40 commit 2075933

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

caml/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,10 @@ ocaml:
6868
cp -r "$$(ocamlfind query ocaml-src)" $@
6969
VERSION="$$(head -n1 ocaml/VERSION)" ; \
7070
if test -d "patches/$$VERSION" ; then \
71-
cd .. && git apply --unsafe-path -v --directory=caml/$@ "caml/patches/$$VERSION"/*; \
71+
cd .. && \
72+
for p in "caml/patches/$$VERSION"/*; do \
73+
(set -x ; git apply --unsafe-path -v --directory=caml/$@ "$$p" ; echo $$?) ; \
74+
done ; \
7275
fi
7376

7477
ocaml/Makefile.config: $(LIBS) $(TOOLCHAIN_FOR_BUILD) | ocaml

0 commit comments

Comments
 (0)