#!/bin/sh # This script compares the perl modules used by the .pm files in perl-install # against the ones listed in share/list, to detect potential missing modules # (and potential run-time problems during the stage 2) cd ../perl-install || exit 1; # list of used .pm files find . -name '*.pm' -not -name b_dump_strings.pm -not -path ./interactive/http.pm | \ xargs perl -lne '/^\s*(use|require)\s+([\w:]+)/ && print $2' | sort -u > /tmp/gi-used-pm # list of .pm files included in install perl -lne 'm{/(?:PERL_VERSION|ARCH-linux|vendor_perl/\*)/([\w/]+)\.pm$} and $_=$1, s,/,::,g, print' share/list > /tmp/gi-found-pm0 find . -name blib -prune -o -name '*.pm' | perl -ne 's,^\./,,; s/\.pm$// or next; s,/,::,g; print' >> /tmp/gi-found-pm0 # compute difference sort -u /tmp/gi-found-pm0 > /tmp/gi-found-pm diff -u /tmp/gi-{used,found}-pm | perl -lne 'BEGIN{print"Unpackaged modules:"} s/^-(?!-)/ / && print' # cleanup rm -f /tmp/gi-used-pm /tmp/gi-found-pm{,0} ter' selected='selected'>master Tools for Managing TranslationsYuri Chornoivan [yurchor]
aboutsummaryrefslogtreecommitdiffstats
path: root/docs/mcc-help/sl/draksec.xml
diff options
context:
space:
mode:
authorYuri Chornoivan <yurchor@ukr.net>2017-07-27 16:02:55 +0300
committerYuri Chornoivan <yurchor@ukr.net>2017-07-27 16:02:55 +0300
commit2530994b3e1e80f6248429fd528355d9c4870c7f (patch)
tree24f0ef65e1ad99894c601061969e2aa908183a63 /docs/mcc-help/sl/draksec.xml
parentc8d490f083780f92acde5100b5b8ab3852f79ff5 (diff)
downloadtools-2530994b3e1e80f6248429fd528355d9c4870c7f.tar
tools-2530994b3e1e80f6248429fd528355d9c4870c7f.tar.gz
tools-2530994b3e1e80f6248429fd528355d9c4870c7f.tar.bz2
tools-2530994b3e1e80f6248429fd528355d9c4870c7f.tar.xz
tools-2530994b3e1e80f6248429fd528355d9c4870c7f.zip
Update Basque translation
Diffstat (limited to 'docs/mcc-help/sl/draksec.xml')
0 files changed, 0 insertions, 0 deletions