Page 1 of 1

Bash error when installing on Ubuntu 16.04

Posted: Wed Aug 31, 2016 5:25 pm
by alisatan
When I run the install script, this happens:

Code: Select all

:~$ sh '/home/unicorn/Downloads/LW-EW-Linux-OSX-v1_0/install-LW.sh' 
Installing Long War for XCOM:EW, please, be patient...
/home/unicorn/Downloads/LW-EW-Linux-OSX-v1_0/install-LW.sh: 30: /home/unicorn/Downloads/LW-EW-Linux-OSX-v1_0/install-LW.sh: Syntax error: "(" unexpected
Google doesnt give me anything, so I'm turning to you. Any help appreciated.

Re: Bash error when installing on Ubuntu 16.04

Posted: Wed Sep 07, 2016 9:34 am
by alisatan
I figured this out, so I'm leaving the answer here in case someone else has the same problem:


I was using

Code: Select all

sh install-LW.sh
instead of

Code: Select all

./install-LW.sh

I dont know why that would be a problem, but this fixed it for me.