Update startpackpack.sh

fix copy/paste error
pull/1901/head
Andrew Bauer 2017-05-31 19:04:14 -05:00 committed by GitHub
parent 106a8ab720
commit 85c19532cf
1 changed files with 2 additions and 2 deletions

View File

@ -119,8 +119,8 @@ 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')
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'
# Set VERSION to x.xx.x+x e.g. 1.30.2+15
# the last x is number of commits since release