]> granicus.if.org Git - docbook-dsssl/commitdiff
Do a proper match.
authorMauritz Jeanson <mj@johanneberg.com>
Thu, 23 Oct 2008 20:25:20 +0000 (20:25 +0000)
committerMauritz Jeanson <mj@johanneberg.com>
Thu, 23 Oct 2008 20:25:20 +0000 (20:25 +0000)
releasetools/xslns-build

index 80d20954489072e675190fee7e3741b242e4fdfe..369037c98687bccd9c3fc2d10199673037135aa5 100755 (executable)
@@ -273,7 +273,7 @@ sub nsfilter {
   }
 
   # Add d: prefix to literal tocentry in maketoc.xsl
-  if ($infile =~ "maketoc") {
+  if ($infile =~ /maketoc/) {
     s/(<\/?)(tocentry)/$1d:$2/sg;
   }