Skip to content

Commit df02e8b

Browse files
committed
Ignore error if patch not applicable
1 parent 3a1a5aa commit df02e8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ patch: $(PATCH_FILES)
2222

2323
.PHONY: $(PATCH_FILES)
2424
$(PATCH_FILES): %: nginx-@NGINX_VERSION@
25-
cd nginx-@NGINX_VERSION@; patch -p1 < ../$*
25+
cd nginx-@NGINX_VERSION@; patch -f -p1 < ../$* || true
2626

2727
nginx-@NGINX_VERSION@/objs/ngx_http_redirectionio_module.so: nginx-@NGINX_VERSION@ patch
2828
cd nginx-@NGINX_VERSION@; \

0 commit comments

Comments
 (0)