Merge branch '1.6.x' of github.com:znc/znc into 1.6.x

This commit is contained in:
Alexey Sokolov
2016-11-19 23:41:15 +00:00
+1 -1
View File
@@ -16,7 +16,7 @@ else
# Figure out the information we need
LATEST_TAG=`${GIT} describe --abbrev=0 HEAD`
COMMITS_SINCE=`${GIT} log --format=oneline ${LATEST_TAG}..HEAD | wc -l`
COMMITS_SINCE=`${GIT} log --pretty=oneline ${LATEST_TAG}..HEAD | wc -l`
# Explicitly make it a number: on openbsd wc -l returns " 42" instead of "42"
let COMMITS_SINCE=COMMITS_SINCE
SHORT_ID=`${GIT} rev-parse --short HEAD`