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
|
@ -12,22 +12,22 @@ manifest: $(MANIFESTS)/flexlm.pp
|
|||
|
||||
$(PACKAGES)/lmutil-$(VERSION).i386.Linux:
|
||||
@umask 022 ; echo $@; \
|
||||
test -f $@ || curl $(BASEURL)/lmutil-i86_lsb-$(VERSION).tar.gz | \
|
||||
test -f $@ || curl -f $(BASEURL)/lmutil-i86_lsb-$(VERSION).tar.gz | \
|
||||
zcat | tar xf - -O > $@
|
||||
|
||||
$(PACKAGES)/lmgrd-$(VERSION).i386.Linux:
|
||||
@umask 022 ; echo $@; \
|
||||
test -f $@ || curl $(BASEURL)/lmgrd-i86_lsb-$(VERSION).tar.gz | \
|
||||
test -f $@ || curl -f $(BASEURL)/lmgrd-i86_lsb-$(VERSION).tar.gz | \
|
||||
zcat | tar xf - -O > $@
|
||||
|
||||
$(PACKAGES)/lmutil-$(VERSION).x86_64.Linux:
|
||||
@umask 022 ; echo $@; \
|
||||
test -f $@ || curl $(BASEURL)/lmutil-x64_lsb-$(VERSION).tar.gz | \
|
||||
test -f $@ || curl -f $(BASEURL)/lmutil-x64_lsb-$(VERSION).tar.gz | \
|
||||
zcat | tar xf - -O > $@
|
||||
|
||||
$(PACKAGES)/lmgrd-$(VERSION).x86_64.Linux:
|
||||
@umask 022 ; echo $@; \
|
||||
test -f $@ || curl $(BASEURL)/lmgrd-x64_lsb-$(VERSION).tar.gz | \
|
||||
test -f $@ || curl -f $(BASEURL)/lmgrd-x64_lsb-$(VERSION).tar.gz | \
|
||||
zcat | tar xf - -O > $@
|
||||
|
||||
$(MANIFESTS)/flexlm.pp: download
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue