Permalink
Browse files

Fixed bug RT#67918 - Bug in Makefile.PL command line parsing when 2 e…

…qual

signs were in an arguement.
  • Loading branch information...
1 parent 1c188bd commit 28ffe70d854483d6ed8eb77c898350d5e2ac2a6a @toddr committed Jan 24, 2012
Showing with 9 additions and 2 deletions.
  1. +7 −0 Changes
  2. +2 −2 Makefile.PL
View
7 Changes
@@ -11,6 +11,13 @@
#========================================================================
#-----------------------------------------------------------------------
+# Version 2.24 - ??
+#------------------------------------------------------------------------
+
+* Fixed bug RT#67918 - Bug in Makefile.PL command line parsing when 2 =
+ signs were in an arguement.
+
+#-----------------------------------------------------------------------
# Version 2.23 - 21st January 2012
#------------------------------------------------------------------------
View
4 Makefile.PL
@@ -42,8 +42,8 @@ $MAKE=$Config{'make'};
# goes into $config
my (%config, %ttconfig);
-while ($_ = shift) {
- my ($k, $v) = split(/=/);
+while (shift @ARGV) {
+ my ($k, $v) = split(/=/, $_, 2);
if ($k =~ /^TT/) {
$ttconfig{ $k } = $v || 0;
}

0 comments on commit 28ffe70

Please sign in to comment.