abort on error when patching oonf_api

dev/timer
Benjamin Valentin 9 years ago
parent 4dfce522df
commit 633f65c062

@ -22,7 +22,7 @@ all: patch
patch: $(CURDIR)/$(PKG_NAME)/Makefile
$(CURDIR)/$(PKG_NAME)/Makefile: $(CURDIR)/$(PKG_NAME)
$(foreach patch,$(shell ls [0-9][0-9][0-9][0-9]*.patch),cd "$<" && git am "../$(patch)";)
$(foreach patch,$(shell ls [0-9][0-9][0-9][0-9]*.patch),cd "$<" && git am "../$(patch)" || { git am --abort; exit 1; };)
$(CURDIR)/$(PKG_NAME):
git clone $(PKG_URL) $@ && \

Loading…
Cancel
Save