diff options
author | Siri Hansen <[email protected]> | 2012-03-21 19:35:17 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2012-03-22 08:46:30 +0100 |
commit | 602d96340b97315c156b597a5ccbfcc135a9a682 (patch) | |
tree | 160273a3c55e7a5445cfc1a7ec2bcd956e888116 /lib/reltool/src/reltool_utils.erl | |
parent | 33e42a694e0ddd8a6c02bfe6c04298ca95aa938a (diff) | |
download | otp-602d96340b97315c156b597a5ccbfcc135a9a682.tar.gz otp-602d96340b97315c156b597a5ccbfcc135a9a682.tar.bz2 otp-602d96340b97315c156b597a5ccbfcc135a9a682.zip |
[reltool] Add configuration parameter lib_dir on application level
As a way of specifying one specific version of an application, the
following configuration parameter is added on application level:
{lib_dir,Dir}, Dir = string()
This can be useful if the parent directory of the application
directory is not suitable to use as a lib dir on system level.
Diffstat (limited to 'lib/reltool/src/reltool_utils.erl')
-rw-r--r-- | lib/reltool/src/reltool_utils.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/reltool/src/reltool_utils.erl b/lib/reltool/src/reltool_utils.erl index b0def45213..ea0b00bbaf 100644 --- a/lib/reltool/src/reltool_utils.erl +++ b/lib/reltool/src/reltool_utils.erl @@ -256,7 +256,7 @@ app_dir_test(Dir1, Dir2) -> Name1 > Name2 -> false; Vsn1 < Vsn2 -> false; Vsn1 > Vsn2 -> true; - Parent1 < Parent2 -> true; + Parent1 =< Parent2 -> true; true -> false end. |