summaryrefslogtreecommitdiffstats
path: root/tools/get-needed-drakx-modules
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2005-09-02 16:38:15 +0000
committerMystery Man <unknown@mandriva.org>2005-09-02 16:38:15 +0000
commitd53d83f3f80a9cad384644bb0d98b4d3d257b4d8 (patch)
tree575ef8f623300f7315ed26bec8c2ef670327366f /tools/get-needed-drakx-modules
parent46a079ddbe5c93b62183e0a30aed11328eee5939 (diff)
downloaddrakx-backup-do-not-use-d53d83f3f80a9cad384644bb0d98b4d3d257b4d8.tar
drakx-backup-do-not-use-d53d83f3f80a9cad384644bb0d98b4d3d257b4d8.tar.gz
drakx-backup-do-not-use-d53d83f3f80a9cad384644bb0d98b4d3d257b4d8.tar.bz2
drakx-backup-do-not-use-d53d83f3f80a9cad384644bb0d98b4d3d257b4d8.tar.xz
drakx-backup-do-not-use-d53d83f3f80a9cad384644bb0d98b4d3d257b4d8.zip
This commit was manufactured by cvs2svn to create tagV10_3_0_52mdk
'V10_3_0_52mdk'.
Diffstat (limited to 'tools/get-needed-drakx-modules')
-rwxr-xr-xtools/get-needed-drakx-modules19
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";
- }
-}