New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix string in shell.init.script #612
Conversation
fixes openhab#570 fixes openhab/openhab-docker#128 Signed-off-by: Simon Kaufmann <simon.kfm@googlemail.com>
What do you mean by it fixes #570? |
Does this literally come from karaf? As far as I remember it does, see https://github.com/apache/karaf/blob/master/assemblies/features/base/src/main/resources/resources/etc/shell.init.script Should we create an upstream issue / pr and does it work better now? Does it also occur on a independant karaf? |
I've just checked: The latest Karaf 4.2.0.M1 still contains the very same string... (/cc @splatch) |
Ok, @martinvw was quicker :-) |
@SJKA I am not sure that I like that change. Doing it on my installation results in:
|
Didn't I mention that I have no idea what I'm doing here...? You don't need to like this change. If you know how to fix it please to so. In any case, this stupid like makes the docker instances go nuts. How about deleting these lines completely as the important ones down below are commented out anyway? |
That indeed works better for me. |
Signed-off-by: Simon Kaufmann <simon.kfm@googlemail.com>
Signed-off-by: Simon Kaufmann <simon.kfm@googlemail.com>
I removed the entire block, as it's useless anyway. |
Thanks! Please also file an issue upstream, so that it won't come back in future versions. |
FTR: it was introduced in karaf in this commit |
I really have no idea what I'm doing and how it is intended to be like, but counting the (unescaped) quotation marks I think karaf is completely right to complain about some string indices etc...
fixes #570
fixes openhab/openhab-docker#128
Signed-off-by: Simon Kaufmann simon.kfm@googlemail.com