[svn:PHP-Sandwich] r1488 - PHP-Sandwich/trunk

[email protected] 29 Aug 2005 16:45:18 -0000
Newsgroups perl.php.sandwich.dev
Message-ID <[email protected]>
Author: gschlossnagle
Date: Mon Aug 29 09:45:18 2005
New Revision: 1488

Modified:
   PHP-Sandwich/trunk/Makefile.PL
Log:
resolves https://rt.cpan.org/Ticket/Display.html?id=14285
Thanks to [email protected]



Modified: PHP-Sandwich/trunk/Makefile.PL
==============================================================================
--- PHP-Sandwich/trunk/Makefile.PL	(original)
+++ PHP-Sandwich/trunk/Makefile.PL	Mon Aug 29 09:45:18 2005
@@ -2,7 +2,7 @@ use ExtUtils::MakeMaker;
 use Config;
 use File::Spec::Functions qw(catfile catdir);
 
-my $phpdir = shift @ARGV || $^O eq 'MSWin32' ? 'C:\\php' : '/usr/local';
+my $phpdir = shift @ARGV || ($^O eq 'MSWin32' ? 'C:\\php' : '/usr/local');
 
 print "using phpdir $phpdir\n";
 my @libs = ('-lphp5');