Return-Path: Delivered-To: apmail-httpd-test-dev-archive@www.apache.org Received: (qmail 43912 invoked from network); 9 Sep 2005 17:13:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Sep 2005 17:13:13 -0000 Received: (qmail 67247 invoked by uid 500); 9 Sep 2005 17:13:13 -0000 Delivered-To: apmail-httpd-test-dev-archive@httpd.apache.org Received: (qmail 67122 invoked by uid 500); 9 Sep 2005 17:13:12 -0000 Mailing-List: contact test-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: test-dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list test-dev@httpd.apache.org Received: (qmail 67109 invoked by uid 99); 9 Sep 2005 17:13:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Sep 2005 10:13:12 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [65.196.108.169] (HELO mail.liquidation.com) (65.196.108.169) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Sep 2005 10:13:23 -0700 Received: from [10.0.0.142] (everything.liquidation.com [65.196.108.171]) (authenticated bits=0) by mail.liquidation.com (8.12.9/8.12.9) with ESMTP id j89HL9uJ021775 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Fri, 9 Sep 2005 13:21:09 -0400 Message-ID: <4321C29F.3030007@p6m7g8.com> Date: Fri, 09 Sep 2005 13:13:03 -0400 From: "Philip M. Gollucci" User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Stas Bekman CC: test-dev@httpd.apache.org, mod_perl Dev Subject: Re: [PATCH] fix mp2bug output to find httpd correct References: <4321488F.7020805@p6m7g8.com> <4321BDFF.7080804@stason.org> In-Reply-To: <4321BDFF.7080804@stason.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean X-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=-4.834, required 5, AWL 0.07, BAYES_00 -4.90) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > It's too risky to just check for Makefile.PL, since it's too generic. > What if someone decides to run mp2bug while residing in the source > directory of some other perl distro? How about: > > use constant IS_MOD_PERL_BUILD => grep > { -e "$_/Makefile.PL" && -e "$_/lib/mod_perl2.pm" } qw(. ..); I agree that its probably too generic but anything short of them copying mp2bug into other-distro/bin or other-distro wouldn't cause it to break. I like you're idea better though, as it account for the above case too. +1 > not really, I believe. It's possible that -httpd is not passed, in which > case this won't work. I've yet to pass -httpd to anything other then Apache2::DebugFilter. :) Thats okay, I liked the first one better anyway. -- END ------------------------------------------------------------ What doesn't kill us can only make us stronger. Nothing is impossible. Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198 Consultant / http://p6m7g8.net/Resume/ Senior Developer / Liquidity Services, Inc. http://www.liquidityservicesinc.com http://www.liquidation.com http://www.uksurplus.com http://www.govliquidation.com http://www.gowholesale.com