File: git-version-gen

package info (click to toggle)
singular 1:4.1.1-p2+ds-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 35,860 kB
  • sloc: cpp: 288,280; ansic: 17,387; lisp: 4,242; yacc: 1,654; python: 1,608; makefile: 1,424; lex: 1,387; perl: 632; sh: 567; xml: 182
file content (6 lines) | stat: -rwxr-xr-x 170 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
#!/bin/sh
TOP_BUIDDIR=$(dirname $0)
DEB_PKG_VERSION=$(dpkg-parsechangelog -l${TOP_BUIDDIR}/debian/changelog -S Version)
echo -n "debian-${DEB_PKG_VERSION}"
exit 0
## eos