diff options
author | Ulf Wiger <ulf@feuerlabs.com> | 2012-07-21 17:35:14 +0200 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-07-21 17:52:01 +0200 |
commit | 6996cd4fcc9dbd80591db38fd3cccfc8ee4aec16 (patch) | |
tree | 85262a732976ba941fcea140e130a2bac59ddc34 /inttest | |
parent | a8d11dc273f3ccafc683a8c4eaa7fe6aeae84b0a (diff) |
Use a more appropriate method to check reltool's vsn
If running e.g. rebar generate using an OTP development build,
rebar will complain that reltool has the version "", which is
less than the required "0.5.2". This is because rebar_reltool
simply checks the path returned by code:which(reltool), which
doesn't yield version information if used in a development build.
This patch substitutes a more robust method (load reltool and
fetch the info from application:loaded_applications()).
As it happens, this will not be enough to make things work,
but now Reltool will explain that it cannot generate a spec
from a system that is not installed, giving a better hint
as to what needs to be done.
Diffstat (limited to 'inttest')
0 files changed, 0 insertions, 0 deletions