Skip to content

Commit 2fffbb5

Browse files
committed
Use --unsafe-paths when we apply patch as git-apply is a 'better GNU patch'
1 parent a0fec7d commit 2fffbb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

caml/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ ocaml:
6868
cp -r "$$(ocamlfind query ocaml-src)" $@
6969
VERSION="$$(head -n1 ocaml/VERSION)" ; \
7070
if test -d "patches/$$VERSION" ; then \
71-
git apply -v --directory=$@ "patches/$$VERSION"/*; \
71+
git apply -v --unsafe-paths --directory=$@ "patches/$$VERSION"/*; \
7272
fi
7373

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

0 commit comments

Comments
 (0)