By the way, I'm now able to reproduce the issue.

Workaround using either /bin/bash in karaf script, or aliasing sh with bash.

I'm fixing that.

Regards
JB

On 11/08/2017 09:03 PM, Francois Papon wrote:
Hi,

When I launch Karaf I've got this error :

./bin/karaf: 218: ./bin/karaf: Bad substitution


Karaf version : 4.2.0.M1

Karaf source : download from Karaf website (http://www.apache.org/dyn/closer.lua/karaf/4.2.0.M1/apache-karaf-4.2.0.M1.tar.gz)

Integrity check : ok

I patch the ./bin/inc file with [KARAF-5466] and [KARAF-5467]

I also try with the last success jenkins build : apache-karaf-4.2.0-20171106.203358-433.tar.gz <https://builds.apache.org/view/K/view/Karaf/job/karaf-master/4754/org.apache.karaf$apache-karaf/artifact/org.apache.karaf/apache-karaf/4.2.0-20171106.203358-433/apache-karaf-4.2.0-20171106.203358-433.tar.gz>

JVM version :

java version "9.0.1"
Java(TM) SE Runtime Environment (build 9.0.1+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)

(I also try with openjdk-9, java-oracle-8, openjdk-8)

OS : Debian stable : 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to