]> git.pld-linux.org Git - packages/rpm.git/blame - rpm-php-provides
- small fix for some classes
[packages/rpm.git] / rpm-php-provides
CommitLineData
c49c7906
PG
1#!/bin/sh
2if [ $# -lt 1 ]; then
3 echo "You have to specify input file"
4 exit 1
5fi
6
7filelist=`echo $@`
8for i in $filelist; do
fa8727f7
PG
9 i=`echo $i | grep "\.php"`
10 if [ -n "$i" ]; then
11 j=`cat $i |egrep -i "^Class" |cut -f 2 -d " "`
12 if [ -n "$j" ]; then
13 for p in $j; do
14 echo "Provides: pear($p)"
15 done
16 j=""
17 fi
c49c7906 18 fi
c49c7906 19done
This page took 0.032398 seconds and 4 git commands to generate.