]> git.pld-linux.org Git - packages/rpm.git/blame - rpm-php-provides
now you may use ./configure from %configuredir not only from current dir
[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
d89e567a 9 i=`echo $i | grep "\.php$"`
fa8727f7 10 if [ -n "$i" ]; then
4668420e 11 j=`cat $i |egrep -i "^Class" |cut -f 2 -d " "| tr -d "\r"`
fa8727f7
PG
12 if [ -n "$j" ]; then
13 for p in $j; do
b605bd60 14 echo "pear($p)"
fa8727f7
PG
15 done
16 j=""
17 fi
c49c7906 18 fi
c49c7906 19done
This page took 0.03848 seconds and 4 git commands to generate.