]> granicus.if.org Git - php/commitdiff
- fix a linefeed problem, if there are more than one configureoption
authorChristian Stocker <chregu@php.net>
Thu, 4 Mar 2004 13:37:37 +0000 (13:37 +0000)
committerChristian Stocker <chregu@php.net>
Thu, 4 Mar 2004 13:37:37 +0000 (13:37 +0000)
pear/PEAR/Builder.php

index 149bc5c80601ba1dee68e7c2c7444d250af876d9..47face0a7e5a9442c370f82569592ed0152b577a 100644 (file)
@@ -218,7 +218,7 @@ class PEAR_Builder extends PEAR_Common
                     ($r == 'yes' || $r == 'autodetect')) {
                     $configure_command .= " --$o[name]";
                 } else {
-                    $configure_command .= " --$o[name]=$r";
+                    $configure_command .= " --$o[name]=".trim($r);
                 }
             }
         }