These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

Linux

 
  • Topic is locked indefinitely.
 

evelauncher.sh broken due to MISSING quotation marks

First post
Author
Tarkina Koslix
Deep Space Supplies
The Curatores Veritatis Auxiliary
#1 - 2016-10-27 14:04:41 UTC
It's getting ridiculous with that small bash script:

For months now theres a bugreport: EBR-85136 about it,
it's not implemented yet and all someone had to do is,
to add some quotation marks around some variables OR
just blind copy the solution inside that bugreport.


#!/bin/sh
appname=`basename "$0" | sed s,\.sh$,,`

dirname=`dirname "$0"`
tmp="${dirname#?}"

if [ "${dirname%$tmp}" != "/" ]; then
dirname="$PWD/$dirname"
fi
LD_LIBRARY_PATH="$dirname:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH
"$dirname/$appname" "$@"


A task not worth mentioning normally, but in the world of eve, it must one of herculeses 12 tasks, no man can ever do alone :(

As of any good wine user , the pre linux launcher Eve was stored under "Window/Programm Files/CCP/..."
a directory with a space inside. Guess what, the new Installation went there too, but did not work, due some major misknowlage about bash scripting: "Allways expect the unexpected." or as Microsoft tend to say "Let me execute "Programm.exe Files/ongoing path to file.exe" instead of "Programm Files/ongoing path to file.exe" "

Can a DEV PLEASE FIX IT NOW ?

I'm sick of deleting the defective version, everytime the launcher updates itself. (yes, moving the directory would be much mor hassle ;) ).
CCP Snorlax
C C P
C C P Alliance
#2 - 2016-10-27 20:36:50 UTC
Please read the about premise of the Linux launcher here: https://forums.eveonline.com/default.aspx?g=posts&m=6503381#post6503381

An easy workaround for this issue is ensure the launcher is installed in a path without spaces.

That said, I'll try to look into this soon - I haven't had any time for Linux issue for a while, but this obviously feels like a high priority issue to you.

CCP Snorlax - Software Architect - Team RnB - @CCP_Snorlax - http://ccpsnorlax.blogspot.is/

Tarkina Koslix
Deep Space Supplies
The Curatores Veritatis Auxiliary
#3 - 2016-10-28 09:42:37 UTC
Thanks.


The game and Launcher(exe,not bash) work without any problems with spaces inside the directorynames.

it's all about the 4 missing quotation marks.