Fixed: Zeros could be stripped from the version string the Makefile extracts from...
authorWaqas Hussain <waqas20@gmail.com>
Fri, 7 Aug 2009 19:21:33 +0000 (00:21 +0500)
committerWaqas Hussain <waqas20@gmail.com>
Fri, 7 Aug 2009 19:21:33 +0000 (00:21 +0500)
Makefile

index a25fe24b262c70194c06b5083138791eb79d9d87..b1c244661c8e06174100ecd182fd28693ed6184a 100644 (file)
--- 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