Skip to content

Commit

Permalink
nsis: Fix update macro
Browse files Browse the repository at this point in the history
  • Loading branch information
uwehermann committed Jan 11, 2014
1 parent cde7bff commit 9212486
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/nsis.mk
Expand Up @@ -11,10 +11,10 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/nsis/NSIS 2/$($(PKG)_VER
$(PKG)_DEPS := gcc

define $(PKG)_UPDATE
$(WGET) -q -O- 'http://nsis.svn.sourceforge.net/viewvc/nsis/NSIS/tags/?sortby=date' | \
grep '<a name="' | \
$(SED) -n 's,.*<a name="v\([0-9]\)\([^"]*\)".*,\1.\2,p' | \
head -1
$(WGET) -q -O- 'http://sourceforge.net/p/nsis/code/HEAD/tree/NSIS/tags/' | \
grep '<a href="' | \
$(SED) -n 's,.*<a href="v\([0-9]\)\([^"]*\)".*,\1.\2,p' | \
tail -1
endef

define $(PKG)_BUILD
Expand Down

0 comments on commit 9212486

Please sign in to comment.