aboutsummaryrefslogtreecommitdiffstats
path: root/php.prov
blob: a094cba8805a5a7b0ccafc482f7d14c63f2110e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/perl
#####################################################################
#                                                                   #
# Check system dependences between php-pear modules                 #
#                                                                   #
# Paweł Gołaszewski <blues@ds.pg.gda.pl>                            #
# Michał Moskal <malekith@pld-linux.org>                            #
# ------------------------------------------------------------------#
# TODO:                                                             #
#####################################################################

$pear = "/usr/share/pear";

foreach (@ARGV ? @ARGV : <>) {
	chomp;
	$f = $_;
	next unless ($f =~ /$pear.*\.php$/);
	$f =~ s/.*$pear\///;
	print "pear($f)\n";
}