diff options
Diffstat (limited to 'actions.sh')
-rwxr-xr-x | actions.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -42,8 +42,9 @@ check_manifest () { help_text="$help_text list_deps\t[]\tlists all non core dependencies\n" list_deps () { + module=${1:-JWebmail} core="$(corelist -v v5.34.1 | awk '{ print $1 }')" - deps="$(perl -wE 'use lib "lib"; use Module::Load::Conditional "requires"; @res = requires "JWebmail"; $" = "\n"; say $res[0] ? "@res" : ""')" + deps="$(perl -wE "use lib 'lib'; use Module::Load::Conditional 'requires'; @res = requires '$module'; \$\" = qq(\n); say \$res[0] ? qq(@res) : ''")" for dep in $deps do |