commit | 98d0e181d53827b8459f8b0b4f013ed73328b2f1 | [log] [tgz] |
---|---|---|
author | Stefan Miklosovic <smiklosovic@apache.org> | Tue Feb 20 19:43:58 2024 +0100 |
committer | Stefan Miklosovic <smiklosovic@apache.org> | Wed Feb 21 08:37:23 2024 +0100 |
tree | eefdf3aed176baf58bd7a9356262b35e8af67e81 | |
parent | 505f5af645c1712c3da42d98d005276396ff2667 [diff] |
Remove bashisms for mx4j tool in cassandra-env.sh /bin/sh (our shebang in bin/cassandra) does not recognize the `if` construct which is available in /bin/bash only hence if MX4J_ADDRESS or MX4J_PORT was not commented out, the script would fail to execute it. patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-19416