]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- small fix rpm-4_0_2-78
authorPaweł Gołaszewski <blues@pld-linux.org>
Sat, 29 Jun 2002 16:02:09 +0000 (16:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-php-provides -> 1.5
    rpm-php-requires -> 1.8

rpm-php-provides
rpm-php-requires

index 481569a0bba02b9baa96e6181cfdd6ba1ae2adac..11178bf3777d0515c32e85d900401202d9c25daf 100644 (file)
@@ -6,7 +6,7 @@ fi
 
 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
index a8dad654d20c85071db9d00333888d73994c1799..a6b24c1c05dd4033fa491e78ae8b43b683aff541 100644 (file)
@@ -5,7 +5,7 @@ if [ $# -lt 1 ]; 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
This page took 0.031181 seconds and 4 git commands to generate.