Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: hg tip
-
Fix Version/s: None
-
Component/s: Infrastructure: Build
-
Labels:None
-
Environment:Ubuntu 11.04, Ant 1.8.1
-
Patch Submitted:Yes
-
Number of attachments :
Description
When running "./rvm -version" the string $
{hg.revision} is shown instead of the mercurial revision. The problem is a missing dependecy in the buildfile: The target "gen-runbootimage" needs to depend on get-hg-version to make sure that the property ${hg.revision}can be evaluated for the constant "rvm_version".
The attached patch adds this dependency and changes the text from "r$
{hg.revision}" to "revision ${hg.revision}" which is more readable IMHO.
patch committed in 10386:5cf396b914d0.
thanks!