summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2009-08-26 22:07:55 (GMT)
committerDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2009-08-26 22:07:55 (GMT)
commit854fa820e345ed890e4a7a9a32b14add68fc642c (patch)
tree839c0cb070bdd1d3400d20978705aeb53024870c
parent46ed54bc095a899bc6fe93fe727e12e96392cc0e (diff)
downloadvdr-plugin-live-854fa820e345ed890e4a7a9a32b14add68fc642c.tar.gz
vdr-plugin-live-854fa820e345ed890e4a7a9a32b14add68fc642c.tar.bz2
Fix for tntnet version number with 'pre' in the version string.cvs-commit-362
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c47422f..62cf856 100644
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,7 @@ TMPDIR ?= /tmp
APIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h)
I18NTARG = $(shell if [ `echo $(APIVERSION) | tr [.] [0]` -ge "10507" ]; then echo "i18n"; fi)
-TNTVERSION = $(shell tntnet-config --version | sed -e's/\.//g' | awk '/^..$$/ { print $$1."00"} /^...$$/ { print $$1."0"} /^....$$/ { print $$1 }')
+TNTVERSION = $(shell tntnet-config --version | sed -e's/\.//g' | sed -e's/pre.*//g' | awk '/^..$$/ { print $$1."00"} /^...$$/ { print $$1."0"} /^....$$/ { print $$1 }')
TNTVERS7 = $(shell ver=$(TNTVERSION); if [ $$ver -ge "1606" ]; then echo "yes"; fi)
### The name of the distribution archive: