Fix curl error handling in Makefiles
Add option -f to make curl fail on server errors. Fixes #7.
This commit is contained in:
parent
67c3fa4a82
commit
d785e48a55
11 changed files with 21 additions and 21 deletions
|
@ -13,11 +13,11 @@ manifest: $(MANIFESTS)/abusehelper.pp
|
|||
|
||||
$(PACKAGES)/$(AHTARGET):
|
||||
@umask 022; echo $@; \
|
||||
test -f $@ || curl -o $@ $(AHSOURCE)
|
||||
test -f $@ || curl -f -o $@ $(AHSOURCE)
|
||||
|
||||
$(PACKAGES)/$(IKTARGET):
|
||||
@umask 022; echo $@; \
|
||||
test -f $@ || curl -o $@ $(IKSOURCE)
|
||||
test -f $@ || curl -f -o $@ $(IKSOURCE)
|
||||
|
||||
$(MANIFESTS)/abusehelper.pp: $(PACKAGES)/$(AHTARGET) $(PACKAGES)/$(IKTARGET)
|
||||
@umask 022; echo $@; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue