ClusterLabs/pacemaker — pull request #225 by JamesGuthrie (2013-02-07 14:56:42+00:00)
Title: Low: Fixed crm_report to work when using custom paths in autoconf.

This fix uses the @localstatedir@ and @execdir@ paths as setup by autoconf.

Additionally it properly tries to find the corosync.conf file. I feel as though this change might be what will be debated. I chose against using $depth as the default "--maxdepth 5" doesn't suffice on my systems. Additionally my rationale was, if it's going to try to find something and warns that it might take a while, why stop at depth 5.
Perhaps the best option would be to allow for the depth to be passed as a parameter and use it consistently.