diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-08-31 11:16:16 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-08-31 11:16:16 +0300 |
commit | 1846726e62d8f54ccaefbb79878e117205c33c10 (patch) | |
tree | d36008edc02555709c8ebdce63c9acc82056de0f | |
parent | b780f5a8d636073d67dbcdfa3f8795f878b55218 (diff) | |
download | librpm-tizen-1846726e62d8f54ccaefbb79878e117205c33c10.tar.gz librpm-tizen-1846726e62d8f54ccaefbb79878e117205c33c10.tar.bz2 librpm-tizen-1846726e62d8f54ccaefbb79878e117205c33c10.zip |
Remove print_deps, was only used by unused find-prov/req.pl
-rwxr-xr-x | scripts/print_deps | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/scripts/print_deps b/scripts/print_deps deleted file mode 100755 index 9e7689718..000000000 --- a/scripts/print_deps +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/perl - -# a glue program for print out dependencies based on filenames -# by Ken Estes kestes@staff.mail.com - -use File::Basename; -use Getopt::Long; - - -GetOptions ( - qw( identifier=s basename! ) - ); - - -if ("@ARGV") { - foreach (@ARGV) { - process_file($_); - } -} else { - - # notice we are passed a list of filenames NOT as common in unix the - # contents of the file. - - foreach (<>) { - process_file($_); - } -} - -sub process_file { - my ($str) = @_; - chomp $str; - - if ($opt_basename) { - $str = basename($str); - } - - if ($opt_identifier) { - print "${opt_identifier}(${str})\n"; - } else { - print "$str\n"; - } - - return ; -} - |