~dricottone/huttese-apk

78b06a80067d83684dc8036d081fd6302fbad48e — Drew DeVault 5 years ago e22186f
Improve hg version detection
1 files changed, 2 insertions(+), 2 deletions(-)

M pkgkit
M pkgkit => pkgkit +2 -2
@@ 150,8 150,8 @@ print_pkgver() {
		fi
	elif [ -d .hg ]
	then
		pkgver=$(hg id -t)
		if [ "$pkgver" = "tip" ]
		pkgver=$(hg id -T '{latesttag}')
		if [ "$(hg id -T '{latesttagdistance}')" -ne 0 ]
		then
			pkgver="$(hg id -T '{latesttag}_hg{sub("-", "", date|shortdate)}')"
		fi