#!/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} git
aboutsummaryrefslogtreecommitdiffstats
path: root/es
diff options
context:
space:
mode:
authorFilip Komar <filip@mageia.org>2013-08-03 15:51:16 +0000
committerFilip Komar <filip@mageia.org>2013-08-03 15:51:16 +0000
commita5a93708f72f07fe350c5cb3dc49bfed55e9566a (patch)
tree9673bdfde7ec255d8c19231615d207944cd655b9 /es
parent6c65bb6edcd99d745029a5a71e1a660f6da35762 (diff)
downloadwww-a5a93708f72f07fe350c5cb3dc49bfed55e9566a.tar
www-a5a93708f72f07fe350c5cb3dc49bfed55e9566a.tar.gz
www-a5a93708f72f07fe350c5cb3dc49bfed55e9566a.tar.bz2
www-a5a93708f72f07fe350c5cb3dc49bfed55e9566a.tar.xz
www-a5a93708f72f07fe350c5cb3dc49bfed55e9566a.zip
scheme-relative URL fix for en/4/download_index.php