]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
cfgapply: fix another bug
authorRudolf Polzer <divVerent@xonotic.org>
Tue, 30 Nov 2010 12:23:46 +0000 (13:23 +0100)
committerRudolf Polzer <divVerent@xonotic.org>
Tue, 30 Nov 2010 12:23:46 +0000 (13:23 +0100)
misc/tools/cfgapply.pl

index e714bc5d18ae66e3da0eeb8dbe31614cfafbc4c4..cb7b194e0390b8541583ae2fa4bc31cf00a24056 100644 (file)
@@ -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})
                {