You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by Romain Manni-Bucau <rm...@gmail.com> on 2020/02/25 08:14:07 UTC

bug in inc?

Hi everyone,

in bin/inc, localeHome function, the KARAF_HOME variable is always unset to
be initialized the if block just after.
I assume it is to enforce the home to be "current" location but I don't see
the point since then the script will not work if not using a standard karaf
layout (OS installation for ex).

It also logs a warning for nothing in several cases:

> karaf: Ignoring predefined value for KARAF_HOME

Wonder if there is any issue to drop the unset block if it is set? Was it
to avoid versions issues? If so, can't we check the major through a lib
file check?

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>