]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- generating bad requires [pear(=)] when used
authormisto <misto@pld-linux.org>
Mon, 7 Oct 2002 22:24:12 +0000 (22:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
   on XML_sql2xml class - FIXED

Changed files:
    rpm-php-requires -> 1.11

rpm-php-requires

index 1c23d2fcd0db3054cc8fbd4cfb23ebaca9ad3188..31bf9bb73cbe6fa2d29b976eef8d5dfbea257f7e 100644 (file)
@@ -18,7 +18,7 @@ for files in `echo $@`; do
        files=`echo $files | grep "\.php$"`
        if [ -n "$files" ]; then
                # Requires trough  new call:
-               j=`cat $files | grep -i new | egrep "(=|return)" | egrep -v "^[[:space:]*]*(\/\/|#|\*|/\*)" | tr -d "\r" | egrep "[;|(|)|{|}|,][[:space:]*]*$" | awk -F "new " '{ print $2 }' | sed "s/[(|;|.]/ /g" | cut -f 1 -d " " | sed "s/^$.*//"`
+               j=`cat $files | grep -iw new | egrep "(=|return)" | egrep -v "^[[:space:]*]*(\/\/|#|\*|/\*)" | tr -d "\r" | egrep "[;|(|)|{|}|,][[:space:]*]*$" | awk -F "new " '{ print $2 }' | sed "s/[(|;|.]/ /g" | cut -f 1 -d " " | sed "s/^$.*//"`
                if [ -n "$j" ]; then
                        for feature in $j; do
                                echo "pear($feature)"
This page took 0.034296 seconds and 4 git commands to generate.