tools/mod2spec.sh
author Matthew Wild <mwild1@gmail.com>
Tue, 18 Jun 2024 15:08:30 +0100
changeset 13500 3e6d5738ea09
parent 13259 df96af198222
permissions -rwxr-xr-x
MUC: Don't default component admins to being room owners This change has various technical and social benefits. If ownership of a MUC is really needed, it can be gained using the 'Set affiliation' ad-hoc command or prosodyctl shell. Example client incompatibility with the old behaviour: - https://github.com/monal-im/Monal/issues/1085
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
13259
df96af198222 tools: Reflect bash-ness of mod2spec in shebang
Kim Alvefur <zash@zash.se>
parents: 13204
diff changeset
     1
#!/bin/bash
13199
1a59a40c6443 tools: Add mod2spec.sh, turns util.example into spec/util_example_spec.lua
Kim Alvefur <zash@zash.se>
parents:
diff changeset
     2
set -eu
1a59a40c6443 tools: Add mod2spec.sh, turns util.example into spec/util_example_spec.lua
Kim Alvefur <zash@zash.se>
parents:
diff changeset
     3
1a59a40c6443 tools: Add mod2spec.sh, turns util.example into spec/util_example_spec.lua
Kim Alvefur <zash@zash.se>
parents:
diff changeset
     4
echo "spec/${1//./_}_spec.lua"