Game will not run under Linux if path has spaces

Bug #1242179 reported by Ⅿⅰⅽhaeⅼ Ⅼutỵnskⅰ
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nikki and the Robots
New
Undecided
Unassigned

Bug Description

If the path that nikki.sh is run from has spaces, the Bash script will fail. The solution is to enquote aspects of it:

deployDir=$(dirname "$(readlink -f $0)")
export LD_LIBRARY_PATH="$deployDir":$LD_LIBRARY_PATH

"$deployDir/restarter" $@

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.