Kaydet (Commit) 814b0b45 authored tarafından Michael Stahl's avatar Michael Stahl

gbuild: UnpackedTarball: print which patch failed to apply

Change-Id: I5536d92c381a0df425a7d70387f1ebc457e68186
üst 40d9a584
...@@ -136,7 +136,8 @@ $(call gb_Helper_abbreviate_dirs,\ ...@@ -136,7 +136,8 @@ $(call gb_Helper_abbreviate_dirs,\
for p in $(UNPACKED_PATCHES); do \ for p in $(UNPACKED_PATCHES); do \
pl=$(UNPACKED_PATCHLEVEL); \ pl=$(UNPACKED_PATCHLEVEL); \
s=$${p##*.}; case "$$s" in [0-9]$(CLOSE_PAREN) pl="$$s"; ;; esac ; \ s=$${p##*.}; case "$$s" in [0-9]$(CLOSE_PAREN) pl="$$s"; ;; esac ; \
$(GNUPATCH) -s -p$$pl < "$$p" || exit 1;\ $(GNUPATCH) -s "-p$$pl" < "$$p"; \
if test "$$?" -ne 0; then echo "Patch FAILED: $$p"; exit 1; fi;\
done && \ done && \
) \ ) \
$(foreach file,$(UNPACKED_FIX_EOL),$(call gb_UnpackedTarball_CONVERTTODOS,$(file)) && ) \ $(foreach file,$(UNPACKED_FIX_EOL),$(call gb_UnpackedTarball_CONVERTTODOS,$(file)) && ) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment