mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Fixed extracting APIVERSION to work with older versions of 'sed'; Fixed broken APIVERSION extraction line in 'newplugin'
This commit is contained in:
6
HISTORY
6
HISTORY
@@ -4580,7 +4580,7 @@ Video Disk Recorder Revision History
|
||||
+### The version number of VDR's plugin API (taken from VDR's "config.h"):
|
||||
|
||||
-VDRVERSION = $(shell grep 'define VDRVERSION ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g')
|
||||
+APIVERSION = $(shell grep 'define APIVERSION ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g')
|
||||
+APIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h)
|
||||
|
||||
### The name of the distribution archive:
|
||||
|
||||
@@ -4652,3 +4652,7 @@ Video Disk Recorder Revision History
|
||||
2006-04-24: Version 1.4.0
|
||||
|
||||
- Fixed initializing 'noapiv' in the Makefile (reported by Ronny Kornexl).
|
||||
- Fixed extracting APIVERSION to work with older versions of 'sed' (reported by
|
||||
Oliver Endriss; thanks also to Udo Richter for a shorter version of the 'sed'
|
||||
expression).
|
||||
- Fixed broken APIVERSION extraction line in 'newplugin' (thanks to Oliver Endriss).
|
||||
|
Reference in New Issue
Block a user