From: Rudolf Polzer Date: Tue, 30 Nov 2010 12:23:46 +0000 (+0100) Subject: cfgapply: fix another bug X-Git-Tag: xonotic-v0.1.0preview~20 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9c69c5f2f8496daa52956cfe40753ca0222cb79c;p=xonotic%2Fxonotic.git cfgapply: fix another bug --- diff --git a/misc/tools/cfgapply.pl b/misc/tools/cfgapply.pl index e714bc5d..cb7b194e 100644 --- a/misc/tools/cfgapply.pl +++ b/misc/tools/cfgapply.pl @@ -11,9 +11,8 @@ while(<>) { chomp; s/\r//g; - s/\/\/.*//; - if(/^\s*(?:set\s+|seta\s+|)(\S+)/) + if(/^\s*(?:set\s+|seta\s+)(\S+)/ or /^\s*(\S+_\S+)/) { if(exists $cvar2line{$1}) {