]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- reverted last changes - other packages were broken
authorPaweł Gołaszewski <blues@pld-linux.org>
Tue, 25 Jun 2002 10:27:10 +0000 (10:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added new one

Changed files:
    rpm-php-requires -> 1.7

rpm-php-requires

index 30d4e4c428ac601245ad1fbd66f13f229fc0a79d..a8dad654d20c85071db9d00333888d73994c1799 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 "^ \*"|sed -e "s/['|\"]/ /" |cut -f 2 -d " "|sed -e "s/\//_/g"|cut -f 1 -d "."`
+               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
                        for p in $j; do
                                echo "pear($p)"
This page took 0.235627 seconds and 4 git commands to generate.