Please sign in to comment.
Fix `platform_lib_dir` definition in packages to compare with devrel …
…settings In devrel and source builds, `platform_lib_dir` gets set to the `lib` directory that is created by reltool. In all packages though, this directory is copied along with the `releases` and `erts-*` directories into the system lib directory. So in all packages `platform_lib_dir` gets defined as a top level directory containing `lib`, `releases`, and `erts-*`. The `riak` script attempts to set the load paths based on this `platform_lib_dir` setting so source builds act differently than package builds. This change fixes that inconsistency and defines a new variable `platform_base_dir` as the new system lib directory. `platform_lib_dir` is then defined as `platform_base_dir/lib` to match up with devrel/source builds. See: basho/riak#126
- Loading branch information...
Showing with 18 additions and 12 deletions.