Fix API version generation
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ if test -d ".git"; then :
|
|||||||
A=`git log src/include/ndpi_typedefs.h|wc -l`
|
A=`git log src/include/ndpi_typedefs.h|wc -l`
|
||||||
B=`git log src/include/ndpi_protocol_ids.h|wc -l`
|
B=`git log src/include/ndpi_protocol_ids.h|wc -l`
|
||||||
C=`git log src/include/ndpi_api.h.in|wc -l`
|
C=`git log src/include/ndpi_api.h.in|wc -l`
|
||||||
NDPI_API_VERSION=$((A+B+B))
|
NDPI_API_VERSION=$((A+B+C))
|
||||||
else
|
else
|
||||||
GIT_RELEASE="${PACKAGE_VERSION}"
|
GIT_RELEASE="${PACKAGE_VERSION}"
|
||||||
GIT_DATE=`date -u -r CHANGELOG.md`
|
GIT_DATE=`date -u -r CHANGELOG.md`
|
||||||
|
|||||||
Reference in New Issue
Block a user