Anyway, I did run into some issues with the build.sh file. It might be something with my system, but it seemed like it didn't like line 11. It wouldn't execute the make command in the odoors sub-directory. If I ran the lines in the terminal, it would work...
On 07-25-19 15:00, Black Panther wrote to Apam <=-
Update! If I change the shebang to use bash, it works just fine. For
some reason sh doesn't like a couple of the lines...
Update! If I change the shebang to use bash, it works just fine. For some reason sh doesn't like a couple of the lines...
Looks like a script writer that assumed everyone uses BASH as their
shell. :) I always put the shebang in my scripts, rather than assume it will "just work" for everyone.
Looks like a script writer that assumed everyone uses BASH as their shell. :) I always put the shebang in my scripts, rather than assume it will "just work" for everyone.
On 07-25-19 16:36, Black Panther wrote to Vk3jed <=-
It had the shebang of #!/bin/sh, which didn't work on Debian 10. I
changed it to #!/bin/bash and it worked with no problem.
On 07-26-19 10:09, Apam wrote to Vk3jed <=-
Re: Re: New Door Games
By: Vk3jed to Black Panther on Fri Jul 26 2019 08:14 am
Looks like a script writer that assumed everyone uses BASH as their shell. :) I always put the shebang in my scripts, rather than assume it will "just work" for everyone.
If I assumed bash was the shell I would have written /bin/bash. That
won't work
on freebsd because bash, if it is installed, would be in /usr/local/bin/bash. So I tried to make it compatible with sh, and it
is compatible with FreeBSD's sh, just seems to not be with debians
dash.
Sysop: | Weed Hopper |
---|---|
Location: | Clearwater, FL |
Users: | 12 |
Nodes: | 6 (0 / 6) |
Uptime: | 11:37:12 |
Calls: | 114 |
Files: | 50,350 |
D/L today: |
56 files (9,998K bytes) |
Messages: | 297,683 |