Hello,

when evaluating Apache Hop 2.14.0 I stumbled over this problem on Linux (WSL in Windows 11): the start-scripts (e.g. hop-gui.sh) fail with "unexpected operator" error.

I found the following simple solution:

I changed the condition

  if [ "${XDG_SESSION_TYPE}" == "wayland" ]; then

to

  if [ "${XDG_SESSION_TYPE}" = "wayland" ]; then

The duplicate "==" is wrong for string comparison here.

Hope this helps.

Kind regards
Markus

------------------------------------------------------------------------
Dr. Markus Eberspächer

yourdata GmbH, Büchsenstr. 28, 70174 Stuttgart
Tel +49 711 490 448 12 <tel:+49 711 490 448 12>, Fax +49 711 490 448 36
markus.eberspaec...@yourdata.de, http://www.yourdata.de/
Geschäftsführer: Jörg Vogler, Dr. Markus Eberspächer
Sitz Stuttgart, AG Stuttgart, HRB 725115




Reply via email to