]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- I thought that that won't be changed...
authorPaweł Gołaszewski <blues@pld-linux.org>
Sun, 8 Sep 2002 17:18:54 +0000 (17:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-php-provides -> 1.6

rpm-php-provides

index 11178bf3777d0515c32e85d900401202d9c25daf..91baf9cabef1b992bd5ee1794c244c18919ff395 100644 (file)
@@ -1,4 +1,13 @@
 #!/bin/sh
+#####################################################################
+#                                                                   #
+# Check system dependences between php-pear modules                 #
+#                                                                   #
+# Pawe³ Go³aszewski <blues@ds.pg.gda.pl>                            #
+# ------------------------------------------------------------------#
+# TODO:                                                             #
+#####################################################################
+
 if [ $# -lt 1 ]; then
        echo "You have to specify input file"
        exit 1
@@ -8,7 +17,7 @@ filelist=`echo $@`
 for i in $filelist; do
        i=`echo $i | grep "\.php$"`
        if [ -n "$i" ]; then
-               j=`cat $i |egrep  -i "^Class" |cut -f 2 -d " "| tr -d "\r"`
+               j=`cat $i | egrep  -i "^Class" | cut -f 2 -d " " |  sed "s/{/ /" | tr -d "\r"`
                if [ -n "$j" ]; then
                        for p in $j; do
                                echo "pear($p)"
This page took 0.032032 seconds and 4 git commands to generate.