]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- strip ')' too - was breaking Validate class
authorPaweł Gołaszewski <blues@pld-linux.org>
Sun, 18 Aug 2002 19:57:35 +0000 (19:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-php-requires -> 1.10

rpm-php-requires

index 203aefbc8a0fad497c7397c2328901fa3f3c2d06..1c23d2fcd0db3054cc8fbd4cfb23ebaca9ad3188 100644 (file)
@@ -34,7 +34,7 @@ for files in `echo $@`; do
                        k=""
                fi
                # requires trough class:: call
-               l=`cat $files | grep "::" | egrep -v "^[[:space:]*]*(\/\/|#|\*|/\*)" | sed "s/[(|'|!|\"|&|@|;]/ /g" | awk -F "::" '{ print $1 }' | sed "s/.*\ \([:alphanum:]*\)/\1/" | sed "s/^$.*//" | sed "s/[.]//g" | tr -d "\r"`
+               l=`cat $files | grep "::" | egrep -v "^[[:space:]*]*(\/\/|#|\*|/\*)" | sed "s/[(|)|'|!|\"|&|@|;]/ /g" | awk -F "::" '{ print $1 }' | sed "s/.*\ \([:alphanum:]*\)/\1/" | sed "s/^$.*//" | sed "s/[.]//g" | tr -d "\r"`
                if [ -n "$l" ]; then
                        for feature in $l; do
                                echo "pear($feature)"
This page took 0.087513 seconds and 4 git commands to generate.