diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2009-10-28 12:36:27 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2009-10-28 12:36:27 (GMT) |
commit | cd4b24fe7ad171df233d823e349b401456c8c9f7 (patch) | |
tree | c43739c744c708a3629bdd7ce1ea8a7d7b586d06 /Makefile | |
parent | 3d7257b7e10f65a1e4b8f8e007dc87b5f1a64d72 (diff) | |
download | mxe-cd4b24fe7ad171df233d823e349b401456c8c9f7.zip mxe-cd4b24fe7ad171df233d823e349b401456c8c9f7.tar.gz mxe-cd4b24fe7ad171df233d823e349b401456c8c9f7.tar.bz2 |
bugfix for "make update": avoid silent package update failures
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -210,7 +210,8 @@ define UPDATE $(info NEW $(1) $($(1)_VERSION) --> $(2)) $(SED) 's/^\([^ ]*_VERSION *:=\).*/\1 $(2)/' -i '$(TOP_DIR)/src/$(1).mk' $(MAKE) -f '$(MAKEFILE)' 'update-checksum-$(1)' \ - || $(SED) 's/^\([^ ]*_VERSION *:=\).*/\1 $($(1)_VERSION)/' -i '$(TOP_DIR)/src/$(1).mk')), + || { $(SED) 's/^\([^ ]*_VERSION *:=\).*/\1 $($(1)_VERSION)/' -i '$(TOP_DIR)/src/$(1).mk'; \ + exit 1; })), $(error Unable to update version number: $(1))) endef |