Update startpackpack.sh

add debug lines for troubleshooting
pull/1901/head
Andrew Bauer 2017-05-31 19:00:17 -05:00 committed by GitHub
parent c555ea0f76
commit 106a8ab720
1 changed files with 5 additions and 0 deletions

View File

@ -117,6 +117,11 @@ installtrusty () {
# This sets the naming convention for the deb packages
setdebpkgver () {
# DEBUG
git describe --long --always
sed -n 's/^\([0-9\.]*\)-\([0-9]*\)-\([a-z0-9]*\)/\1/p')
sed -n 's/^\([0-9\.]*\)-\([0-9]*\)-\([a-z0-9]*\)/\2/p')
# Set VERSION to x.xx.x+x e.g. 1.30.2+15
# the last x is number of commits since release
# Creates zoneminder packages in the format: zoneminder-{version}-{release}