Abort if patching the source files fails.

This commit is contained in:
Sebastian Lackner 2014-02-21 04:54:31 +01:00
parent 7642c422ed
commit 29d69db459

View File

@ -10,7 +10,7 @@ install:
for FILE in $$(ls $$DIR | sort | grep '\.patch$$'); do \
SHORTNAME=$$(echo "$$DIR/$$FILE" | sed 's|$(CURDIR)|\.|g' ); \
printf "Applying patch '$$SHORTNAME'...\n"; \
$(PATCH) < $$DIR/$$FILE || cat || exit 1; \
$(PATCH) < $$DIR/$$FILE || exit 1; \
done \
done