diff options
author | Mystery Man <unknown@mandriva.org> | 2005-07-15 09:43:41 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2005-07-15 09:43:41 +0000 |
commit | d3d450b0b2a7633c39bcce37a594f241f3e46211 (patch) | |
tree | 519169fee33e0ba0d8d703dc26bce62e2e5b5dc6 /tools/get-needed-drakx-modules | |
parent | d2ce60d6be52cb011e7f05e54e5ec121e93c358e (diff) | |
download | drakx-10_3_0_35mdk.tar drakx-10_3_0_35mdk.tar.gz drakx-10_3_0_35mdk.tar.bz2 drakx-10_3_0_35mdk.tar.xz drakx-10_3_0_35mdk.zip |
This commit was manufactured by cvs2svn to create tagV10_3_0_35mdk
'V10_3_0_35mdk'.
Diffstat (limited to 'tools/get-needed-drakx-modules')
-rwxr-xr-x | tools/get-needed-drakx-modules | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/tools/get-needed-drakx-modules b/tools/get-needed-drakx-modules deleted file mode 100755 index 019820c04..000000000 --- a/tools/get-needed-drakx-modules +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/perl - -use MDK::Common; - -my ($rel, $dest, $script) = @ARGV; - -$rel =~ s!/?$!!; - -foreach (`strace -efile perl -cw -I $rel $script 2>&1`) { - my ($f) = /^open\("(.*?)",.*\)\s*=\s*\d+$/ or next; - $f !~ m!/usr/lib/perl5/[^/]*/warnings.pm! or next; - if (begins_with($f, $rel)) { - print $f, "\t", $dest . substr($f, length($rel)), "\n"; - } elsif (begins_with($f, '/dev/')) { - # skip - } elsif (begins_with($f, '/')) { - print "$f\n"; - } -} |