File: buildver.sh

package info (click to toggle)
xombrero 2%3A1.6.4-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,860 kB
  • ctags: 2,631
  • sloc: ansic: 17,051; makefile: 465; perl: 387; sh: 120
file content (7 lines) | stat: -rwxr-xr-x 114 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
#!/bin/sh

CURDIR=$(dirname $0)
if [ -d "$CURDIR/.git" ]; then
	cd "$CURDIR"
	git describe --tags | tr -d '\n'
fi