@@ -16,9 +16,9 @@ |
||
16 | 16 | $target = $_SERVER['argv'][3]; |
17 | 17 | |
18 | 18 | if (!file_exists($doc)) |
19 | - error("KO: file $doc cannot be found"); |
|
19 | + error("KO: file $doc cannot be found"); |
|
20 | 20 | if (!file_exists($xss)) |
21 | - error("KO: file $xss cannot be found"); |
|
21 | + error("KO: file $xss cannot be found"); |
|
22 | 22 | |
23 | 23 | info("Starting xsl conversion process..."); |
24 | 24 |
@@ -7,7 +7,7 @@ |
||
7 | 7 | * @todo rename to something akin to xsltproc |
8 | 8 | */ |
9 | 9 | |
10 | -if ($_SERVER['argc'] < 4) { |
|
10 | +if ($_SERVER['argc']<4) { |
|
11 | 11 | error("Usage: php convert.php docbook.xml stylesheet.xsl output-dir|output_file"); |
12 | 12 | } |
13 | 13 |