]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 375602: makedocs.pl --with-pdf parameter check is buggy - Patch by Olav Vitters...
authorlpsolit%gmail.com <>
Fri, 6 Apr 2007 15:13:15 +0000 (15:13 +0000)
committerlpsolit%gmail.com <>
Fri, 6 Apr 2007 15:13:15 +0000 (15:13 +0000)
docs/makedocs.pl

index 5a001ea06ea2529607276a1c9496fc802a8dd78c..5a2244a17d14d4ec4fa51f8dc067518eaac9e8ef 100644 (file)
@@ -92,7 +92,7 @@ MakeDocs('big HTML', "jade -V nochunks -t sgml -i html -d " .
 MakeDocs('big text', "lynx -dump -justify=off -nolist Bugzilla-Guide.html " .
         "> ../txt/Bugzilla-Guide.txt");
 
-if (! grep("--with-pdf", @ARGV)) {
+if (! grep($_ eq "--with-pdf", @ARGV)) {
     exit;
 }