Changed files:
rpm-php-provides -> 1.5
rpm-php-requires -> 1.8
filelist=`echo $@`
for i in $filelist; do
- i=`echo $i | grep "\.php"`
+ i=`echo $i | grep "\.php$"`
if [ -n "$i" ]; then
j=`cat $i |egrep -i "^Class" |cut -f 2 -d " "| tr -d "\r"`
if [ -n "$j" ]; then
fi
for i in `echo $@`; do
- i=`echo $i | grep "\.php"`
+ i=`echo $i | grep "\.php$"`
if [ -n "$i" ]; then
j=`cat $i | grep -i ^require_once | egrep -v "^ \*" | sed -e "s/['|\"]//" | sed -e "s/(/ /" | cut -f 2 -d " " | sed -e "s/\//_/g" | cut -f 1 -d "."`
if [ -n "$j" ]; then