This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
prevent double single quotes for default cfg vars
authorH.Merijn Brand <h.m.brand@xs4all.nl>
Thu, 5 Jun 2014 10:28:37 +0000 (12:28 +0200)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Thu, 5 Jun 2014 10:28:37 +0000 (12:28 +0200)
Porting/checkcfgvar.pl
uconfig.h

index 3ebde3a..4dc93df 100755 (executable)
@@ -34,6 +34,8 @@ GetOptions (
     "tap"      => \$tap,
     ) or usage (1);
 
+$default and $default =~ s/^'(.*)'$/$1/; # Will be quoted on generation
+
 require 'regen/regen_lib.pl' if $opt_r;
 
 my $MASTER_CFG = "config_h.SH";
index 13ed9ef..35f1a0d 100644 (file)
--- a/uconfig.h
+++ b/uconfig.h
 
 /* Generated from:
  * 06dae33599ea14bee0e39e3b22e1f685aaae36422af2c567dc1de19203950835 config_h.SH
- * a350679952164b71c20f5b09afd8c2ffe982e97dddffa15031edc7584b357796 uconfig.sh
+ * 6859e7550b3ae0da512f0a8b99762af72df599ab734520206d7b3574459e948f uconfig.sh
  * ex: set ro: */