Fix : binary operator expected and don't use a not not operator#276
Fix : binary operator expected and don't use a not not operator#276dgibbs64 merged 7 commits intoGameServerManagers:masterfrom Poil:master
Conversation
|
Update: True selfname. Remove stupid code |
|
Thanks for the code updates. Looks like you know best practices better than me. I welcome any code that improves or optimises the scripts. I will review your code and do a merge very soon. Thanks for submitting this. |
|
Hi, perhaps we can also move all "Directories, Logging, fn_runfunction" section from script to a common shared configuration file and just source this file. |
|
Also you have some duplicate code (ex: fn_distro, fn_distro_detail) And for the best practices, In Bash either you use simple bracket syntax and you protect your variable with double quotes or you use the double bracket syntax [ -z "${foo}" ]
#or
[[ -z ${foo} ]]
#or ...
[[ -z "${foo}" ]]You can have more syntax improvment on Bash hackers wiki http://wiki.bash-hackers.org/start And also another very good bash information website : http://mywiki.wooledge.org/BashFAQ |
|
I don't quite follow. fn_runfunctions is required to get all other functions. I'm not sure of a way to move the function out of the main file. |
Fix : binary operator expected and don't use a not not operator
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
No description provided.