mirror of https://git.wownero.com/dsc/mxe.git
package check: use pkg name instead of $(PKG) variable in update section
This commit is contained in:
parent
1089f40d5f
commit
25a6762e46
|
@ -11,7 +11,7 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_V
|
|||
$(PKG)_DEPS := gcc
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'http://sourceforge.net/projects/$(PKG)/files/$(PKG)/' | \
|
||||
$(WGET) -q -O- 'http://sourceforge.net/projects/check/files/check/' | \
|
||||
$(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
|
||||
head -1
|
||||
endef
|
||||
|
|
Loading…
Reference in New Issue