From 618d606a883f6977540fec11b2069679e7f4e4c1 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Wed, 31 May 2017 20:12:49 -0500 Subject: [PATCH] Update startpackpack.sh add additional debug output --- utils/packpack/startpackpack.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/utils/packpack/startpackpack.sh b/utils/packpack/startpackpack.sh index d5ca7ff71..80fcb5d37 100755 --- a/utils/packpack/startpackpack.sh +++ b/utils/packpack/startpackpack.sh @@ -118,9 +118,10 @@ installtrusty () { setdebpkgver () { # DEBUG - git describe --long --always - git describe --long --always | sed -n 's/^\([0-9\.]*\)-\([0-9]*\)-\([a-z0-9]*\)/\1/p' - git describe --long --always | sed -n 's/^\([0-9\.]*\)-\([0-9]*\)-\([a-z0-9]*\)/\2/p' + echo + echo "Output of git describe: $(git describe)" + echo "Output of git describe --debug --long --always: $(git describe --long --always --debug)" + echo "Output of git describe --long --always: $(git describe --long --always)" # Set VERSION to x.xx.x+x e.g. 1.30.2+15 # the last x is number of commits since release