File

tools/mod2spec.sh @ 13603:6e5124f72e9a

mod_admin_shell: Fix reporting origin module for commands The field `_provided_by` comes from module:provides(), but these items comes from moduel:add_item(), which include the originating module as a 'source' field of the event. However, this is absent when items are retrieved at a later time than the initial event.
author Kim Alvefur <zash@zash.se>
date Wed, 08 Jan 2025 08:11:02 +0100
parent 13255:df96af198222
line wrap: on
line source

#!/bin/bash
set -eu

echo "spec/${1//./_}_spec.lua"