]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- small fix for some classes
authorPaweł Gołaszewski <blues@pld-linux.org>
Mon, 24 Jun 2002 11:41:14 +0000 (11:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-php-requires -> 1.3

rpm-php-requires

index 16e9dcb0e9988ad8dcf293bf6204a508328ef985..ed89dc11dd2dde0412354911611548e904a8203e 100644 (file)
@@ -7,7 +7,7 @@ fi
 for i in `echo $@`; do
        i=`echo $i | grep "\.php"`
        if [ -n "$i" ]; then
-               j=`cat $i |grep -i ^require_once|egrep -v "^ \*"|cut -f 2 -d "\""|sed -e "s/\//_/"|cut -f 1 -d "."`
+               j=`cat $i |grep -i ^require_once|egrep -v "^ \*"|sed -e "s/['|\"]//" |cut -f 2 -d " "|sed -e "s/\//_/"|cut -f 1 -d "."`
                if [ -n "$j" ]; then
                        for p in $j; do
                                echo "Requires: pear($p)"
This page took 0.123106 seconds and 4 git commands to generate.