[svn:parrot] r36505 - trunk

rurban at svn.parrot.org rurban at svn.parrot.org
Mon Feb 9 20:49:35 UTC 2009


Author: rurban
Date: Mon Feb  9 20:49:35 2009
New Revision: 36505
URL: https://trac.parrot.org/parrot/changeset/36505

Log:
RT#58034: make reconfig, fix a cornercase when no args are given

Modified:
   trunk/Configure.pl

Modified: trunk/Configure.pl
==============================================================================
--- trunk/Configure.pl	Mon Feb  9 20:12:35 2009	(r36504)
+++ trunk/Configure.pl	Mon Feb  9 20:49:35 2009	(r36505)
@@ -64,7 +64,8 @@
 # from Parrot::Configure::Data
 $conf->options->set( %{$args} );
 # save the command-line for make reconfig
-$conf->data->set(configure_args => '"'.join("\" \"", map {qq($_)} @ARGV).'"');
+$conf->data->set(configure_args => @ARGV ? '"'.join("\" \"", map {qq($_)} @ARGV).'"'
+                                         : '');
 
 # Log files created by Configure.pl in MANIFEST.configure.generated
 $conf->{active_configuration} = 1;


More information about the parrot-commits mailing list