Closed Dup4 closed 2 years ago
BTW: I detected these errors by using shellcheck in vscode.
Our main repo has some GitHub actions now. I leave it to @vmcj to think where to place shellcheck
@Dup4 I've added shellcheck, so let's see what it can find besides your fixes.
good job. @vmcj
Looks like some issues have been detected
I think we can close this issue now by the way?
I think we can close this issue now by the way?
Yes.
https://github.com/DOMjudge/domjudge-packaging/blob/b7ebf8f02ec8e0014a595d9c8bfacf4e3db8982f/docker/domserver/configure.sh#L15-L22
https://github.com/koalaman/shellcheck/wiki/SC2066
Obviously, the code in the loop has not taken offect.
https://github.com/DOMjudge/domjudge-packaging/blob/b7ebf8f02ec8e0014a595d9c8bfacf4e3db8982f/docker/domserver/configure.sh#L64-L65
https://github.com/koalaman/shellcheck/wiki/SC2016
${php_version}
replacement was not successful.https://github.com/DOMjudge/domjudge-packaging/blob/b7ebf8f02ec8e0014a595d9c8bfacf4e3db8982f/docker/judgehost/build.sh#L9
https://github.com/koalaman/shellcheck/wiki/SC2024