[go: up one dir, main page]

File: extract-plugins

package info (click to toggle)
uranium 3.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,876 kB
  • sloc: python: 22,349; sh: 111; makefile: 11
file content (14 lines) | stat: -rwxr-xr-x 246 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/bash

# Extract strings from all plugins
#

scriptdir=$(dirname $0)
dir=$1; shift
dest=$1; shift

for file in $(find -L "$dir" -name plugin.json | grep -v 'tests'); do
    python3 $scriptdir/createplugincontext.py $file $dir $dest
done