Mercurial > mxe-octave
changeset 5178:7b798a7f20d1
* src/npp.mk: fix update rule
author | John Donoghue |
---|---|
date | Thu, 10 Oct 2019 13:09:44 -0400 |
parents | 64f1d5ad3a5a |
children | 77f706a1e046 |
files | src/npp.mk |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/npp.mk Thu Oct 10 08:40:46 2019 -0400 +++ b/src/npp.mk Thu Oct 10 13:09:44 2019 -0400 @@ -12,7 +12,8 @@ define $(PKG)_UPDATE $(WGET) -q -O- 'https://notepad-plus-plus.org/download/' | \ - $(SED) -n 's|.*>v\([^\w]*\) - Current.*|\1|p' | \ + $(GREP) 'Current' | \ + $(SED) -n 's|.*/v\([^/]*\).*|\1|p' | \ tail -1 endef