From 106a8ab7208ce7805727a21e1321803126936b72 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Wed, 31 May 2017 19:00:17 -0500 Subject: [PATCH] Update startpackpack.sh add debug lines for troubleshooting --- utils/packpack/startpackpack.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/utils/packpack/startpackpack.sh b/utils/packpack/startpackpack.sh index e50579525..9f010d190 100755 --- a/utils/packpack/startpackpack.sh +++ b/utils/packpack/startpackpack.sh @@ -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}