It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Hi!

Do anyone has a problem with BG2 linux shell script, namely it won't run, and console says "can't open"? And anticipating questions: 1. I' ve make it executable; 2 similiar scripts of Bg1 and Torment works fine, only bg2.
This question / problem has been solved by Gydionimage
avatar
tjg1: Do anyone has a problem with BG2 linux shell script, namely it won't run, and console says "can't open"? And anticipating questions: 1. I' ve make it executable; 2 similiar scripts of Bg1 and Torment works fine, only bg2.
1. Is this the installer or the start.sh script?
2. I would hate to see the actual commands you ran with the corresponding output.
3. What are the file permissions of the script: ls -n scriptfile
avatar
tjg1: Do anyone has a problem with BG2 linux shell script, namely it won't run, and console says "can't open"? And anticipating questions: 1. I' ve make it executable; 2 similiar scripts of Bg1 and Torment works fine, only bg2.
avatar
Gydion: 1. Is this the installer or the start.sh script?
2. I would hate to see the actual commands you ran with the corresponding output.
3. What are the file permissions of the script: ls -n scriptfile
Thank to you it works :D

I' ve changed command in terminal from sh scriptfile for bash i]scriptfile[/i]. Rather obvious :)
avatar
tjg1: Thank to you it works :D

I' ve changed command in terminal from sh scriptfile for bash i]scriptfile[/i]. Rather obvious :)
Hmm, OK. More properly you should launch the script as ./scriptfile instead of explicitly calling a given shell. This would have avoided your original problem altogether.
Post edited August 27, 2015 by Gydion
avatar
tjg1: Thank to you it works :D

I' ve changed command in terminal from sh scriptfile for bash i]scriptfile[/i]. Rather obvious :)
avatar
Gydion: Hmm, OK. More properly you should launch the script as ./scriptfile instead of explicitly calling a given shell. This would have avoided your original problem altogether.
unfortunately not. It's the same like with sh command. Take a look.
Attachments:
shell.png (428 Kb)
avatar
Gydion: Hmm, OK. More properly you should launch the script as ./scriptfile instead of explicitly calling a given shell. This would have avoided your original problem altogether.
avatar
tjg1: unfortunately not. It's the same like with sh command. Take a look.
Oh, it's the installer. Still that's odd. I would think mojosetup would specify BASH. In truth I just extract the installers instead of run them anyway.