Skip to content
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

Script does not run if an ' is in the Name #16

Open
devz3r0 opened this issue Sep 7, 2024 · 0 comments
Open

Script does not run if an ' is in the Name #16

devz3r0 opened this issue Sep 7, 2024 · 0 comments

Comments

@devz3r0
Copy link

devz3r0 commented Sep 7, 2024

Hi,

I tried out Borderlands Tiny Tina's Wonderland, and I suppose you already know what the problem is.

If I use the default value I get:

./Wonderland.sh: Line 4: End of file after searching for »'«.

simple escaping a single quote inside a single quote inside an bash script does not work.
Chaning the outer single quote to a double quote neither.

So I adapted the path to:

export GAMERUN='/mnt/Linux-Games/SteamLibrary/steamapps/common/Tiny Tina'\''s Wonderlands/OakGame/Binaries/Win64/Wonderlands.exe'

so the script runs initially to the controller check, however it crash at:

/mnt/Linux-Games/SteamLibrary/steamapps/common/Tiny Tina's Wonderlands/OakGame/Binaries/Win64/Wonderlands.exe: PE32+ executable (GUI) x86-64, for MS Windows, 8 sections
../Co-Op-On-Linux.sh: Zeile 237: cd: Too many Arguments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant