opus + opusfile: Sort versions before selecting version for updating

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
This commit is contained in:
Timothy Gu 2013-09-05 13:38:07 -07:00
parent f48d0557c2
commit 2faa8cae12
2 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@ define $(PKG)_UPDATE
$(SED) -n 's,.*opus-\([0-9][^>]*\)\.tar.*,\1,p' | \
grep -v 'alpha' | \
grep -v 'beta' | \
sort -Vr | \
head -1
endef

View File

@ -15,6 +15,7 @@ define $(PKG)_UPDATE
$(SED) -n 's,.*opusfile-\([0-9][^>]*\)\.tar.*,\1,p' | \
grep -v 'alpha' | \
grep -v 'beta' | \
sort -Vr | \
head -1
endef