Skip to content

Commit 0d70e70

Browse files
author
H.Merijn Brand
committed
prevent double single quotes for default cfg vars
1 parent 87bc21a commit 0d70e70

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Porting/checkcfgvar.pl

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ sub usage
3434
"tap" => \$tap,
3535
) or usage (1);
3636

37+
$default and $default =~ s/^'(.*)'$/$1/; # Will be quoted on generation
38+
3739
require 'regen/regen_lib.pl' if $opt_r;
3840

3941
my $MASTER_CFG = "config_h.SH";

uconfig.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -4724,5 +4724,5 @@
47244724

47254725
/* Generated from:
47264726
* 06dae33599ea14bee0e39e3b22e1f685aaae36422af2c567dc1de19203950835 config_h.SH
4727-
* a350679952164b71c20f5b09afd8c2ffe982e97dddffa15031edc7584b357796 uconfig.sh
4727+
* 6859e7550b3ae0da512f0a8b99762af72df599ab734520206d7b3574459e948f uconfig.sh
47284728
* ex: set ro: */

0 commit comments

Comments
 (0)