From 9b3f3c93e368ad92e5d3add7abd4b5ec22dedb64 Mon Sep 17 00:00:00 2001
From: Waqas Hussain <waqas20@gmail.com>
Date: Sat, 8 Aug 2009 00:21:33 +0500
Subject: Fixed: Zeros could be stripped from the version string the Makefile
 extracts from the local hg repository (thanks albert)

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index a25fe24b..b1c24466 100644
--- a/Makefile
+++ b/Makefile
@@ -71,7 +71,7 @@ prosody.cfg.lua.install:
 	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
-- 
cgit v1.2.3