~ubuntu-branches/ubuntu/utopic/pacemaker/utopic-proposed

« back to all changes in this revision

Viewing changes to tools/report.common.in

  • Committer: Package Import Robot
  • Author(s): Andres Rodriguez
  • Date: 2013-08-15 11:27:07 UTC
  • mfrom: (1.1.12) (2.1.24 sid)
  • Revision ID: package-import@ubuntu.com-20130815112707-5r864ink7jme3zl5
Tags: 1.1.10+git20130802-1ubuntu1
* Merge from Debian unstable.  Remaining changes:
  - debian/control: Build-Depends on libqb-dev; Depends on libheartbeat2.
* Corosync's pacemaker plugin is disabled, hence not built:
  - debian/licrmcluster4-dev.install: Do not install plugin.h.
  - debian/pacemaker.install: Do not install pacemaker.lcrso.

Show diffs side-by-side

added added

removed removed

Lines of Context:
309
309
 
310
310
        for d in $syslogdirs; do
311
311
            if [ -d $d ]; then
312
 
                logfiles="$logfiles `grep -l -e "$pattern" $d/*`"
 
312
                files=`find $d -type f -maxdepth 1`
 
313
                for f in $files; do
 
314
                    local cat=`find_decompressor $f`
 
315
                    $cat $f | grep -l -e "$pattern"
 
316
                    if [ $? = 0 ]; then
 
317
                        logfiles="$logfiles $f"
 
318
                    fi
 
319
                done
313
320
            fi
314
321
        done 2>/dev/null
315
322