Fixed: Zeros could be stripped from the version string the Makefile extracts from the local hg repository (thanks albert)
authorWaqas Hussain <waqas20@gmail.com>
Sat, 08 Aug 2009 00:21:33 +0500
changeset 1643 4642dd87e390
parent 1641 af962e6ae781
child 1644 002af1bb797a
child 1720 c34409a5fdee
Fixed: Zeros could be stripped from the version string the Makefile extracts from the local hg repository (thanks albert)
Makefile
--- a/Makefile	Fri Aug 07 15:30:47 2009 +0500
+++ b/Makefile	Sat Aug 08 00:21:33 2009 +0500
@@ -71,7 +71,7 @@
 	sed 's|certs/|$(INSTALLEDCONFIG)/certs/|' prosody.cfg.lua.dist > prosody.cfg.lua.install
 
 prosody.release:
-	test -e .hg/dirstate && hexdump -n6 -e'6/1 "%01x"' .hg/dirstate \
+	test -e .hg/dirstate && hexdump -n6 -e'6/1 "%02x"' .hg/dirstate \
 	    > prosody.version || true
 
 prosody.version: prosody.release