Fix curl error handling in Makefiles

Add option -f to make curl fail on server errors. Fixes #7.
This commit is contained in:
Ossi Salmi 2013-08-14 14:16:24 +03:00
parent 67c3fa4a82
commit d785e48a55
11 changed files with 21 additions and 21 deletions

View file

@ -14,11 +14,11 @@ manifest: $(MANIFESTS)/wiki.pp
$(PACKAGES)/$(GWIKITARGET):
@umask 022; echo $@; \
test -f $@ || curl -o $@ $(GWIKISOURCE)
test -f $@ || curl -f -o $@ $(GWIKISOURCE)
$(PACKAGES)/$(MOINTARGET):
@umask 022; echo $@; \
test -f $@ || curl -o $@ $(MOINSOURCE)
test -f $@ || curl -f -o $@ $(MOINSOURCE)
$(MANIFESTS)/wiki.pp: $(PACKAGES)/$(GWIKITARGET) $(PACKAGES)/$(MOINTARGET)
@umask 022; echo $@; \