summaryrefslogtreecommitdiffstats
path: root/src/postgresql.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-05-22 09:33:04 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-05-22 09:33:04 (GMT)
commit6188de2ed34a0d00b3845e9b1fbd43bf9963a01b (patch)
treefd6e122394a96e70f8a2930ad4ad0c6e9343edae /src/postgresql.mk
parent943ab6a7ee0eb6748b4dcf0c9bd08592722b55ce (diff)
downloadmxe-6188de2ed34a0d00b3845e9b1fbd43bf9963a01b.zip
mxe-6188de2ed34a0d00b3845e9b1fbd43bf9963a01b.tar.gz
mxe-6188de2ed34a0d00b3845e9b1fbd43bf9963a01b.tar.bz2
various packages: remove grep workarounds for version sorting
Diffstat (limited to 'src/postgresql.mk')
-rw-r--r--src/postgresql.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/postgresql.mk b/src/postgresql.mk
index e0d2752..e2507f2 100644
--- a/src/postgresql.mk
+++ b/src/postgresql.mk
@@ -14,8 +14,8 @@ define $(PKG)_UPDATE
grep 'refs/tags/REL9[0-9_]*"' | \
$(SED) 's,.*refs/tags/REL\(.*\)".*,\1,g;' | \
$(SED) 's,_,.,g' | \
- grep -v '^9\.[01]' | \
- head -1
+ $(SORT) -V | \
+ tail -1
endef
define $(PKG)_BUILD