using sh and wrong syntax in if statements breaks ubuntu build
On systems with Ubuntu 18.04, using /bin/sh will cause issues in the scripts:
/home/user/work/git/kea-not-working/tools/cql_config: 30: /home/user/work/git/kea-not-working/tools/cql_config: source: not found /home/user/work/git/kea-not-working/tools/cql_config: 38: [: --print-errors: unexpected operator /home/user/work/git/kea-not-working/tools/cql_config: 71: [: --print-errors: unexpected operator /home/user/work/git/kea-not-working/tools/cql_config: 75: [: --print-errors: unexpected operator /home/user/work/git/kea-not-working/tools/cql_config: 80: [: --print-errors: unexpected operator /home/user/work/git/kea-not-working/tools/cql_config: 85: [: --print-errors: unexpected operator /home/user/work/git/kea-not-working/tools/cql_config: 93: [: --print-errors: unexpected operator
If '/bin/sh' is replaced with '/bin/bash' the 'source' command will be available, or the 'source' command must be replace with '.' and the /bin/sh can be left as it is.
In /bin/sh and in /bin/bash, the comparison operation is not valid: if [ "$x" == "value" ]; then The proper syntax is: if [ "$x" = "value" ]; then
All scripts using this syntax must be fixed.