Bash error when installing on Ubuntu 16.04

Troubleshooting instructions here
Post Reply
alisatan
Posts: 2
Joined: Wed Aug 31, 2016 5:21 pm

Bash error when installing on Ubuntu 16.04

Post 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.
alisatan
Posts: 2
Joined: Wed Aug 31, 2016 5:21 pm

Re: Bash error when installing on Ubuntu 16.04

Post 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.
Post Reply