fix argument index in cpd_script.php
This commit is contained in:
parent
2fbfcf3d59
commit
53a0c5fbee
|
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
$CPD_XML_PATH = $argv[2];
|
||||
$CPD_XML_PATH = $argv[1];
|
||||
|
||||
foreach (simplexml_load_file($CPD_XML_PATH)->duplication as $duplication) {
|
||||
$files = $duplication->xpath('file');
|
||||
|
|
|
|||
Loading…
Reference in New Issue