~dricottone/huttese-apk

bc082d37b7ec7c1e65e4a962e2639117eaaa01d0 — Drew DeVault 4 years ago a5767fa
pkgkit: generate sane pkgver for untagged repos
1 files changed, 5 insertions(+), 1 deletions(-)

M pkgkit
M pkgkit => pkgkit +5 -1
@@ 155,7 155,11 @@ print_pkgver() {
	fi
	if [ -d .git ]
	then
		pkgver=$(git describe --abbrev=0)
		pkgver=$(git describe --abbrev=0 2>/dev/null)
		if [ $? -ne 0 ]
		then
			pkgver=0
		fi
		if ! git describe --exact-match HEAD >/dev/null 2>&1
		then
			cdate=$(git show -s -1 --format='%ci' HEAD)