if(preg_match('/^File\s+"([^"]+)"\s+"([^"]+)"$/', $line, $matches))
{
$lStack[$lDepth][1][] = array($matches[1], $matches[2]);
- $gDependencies[] = $matches[2];
continue;
}
echo "ERROR: $line\n";
function ProcessFolder($prefix, $items)
{
- global $gOutput;
+ global $gOutput, $gDependencies;
global $ACESSDIR, $ARCH;
foreach($items as $i=>$item)
{
$path = str_replace("__FS__", "$ACESSDIR/Usermode/Filesystem", $path);
echo $path,"\n";
// ---
+
+ $gDependencies[] = $path;
if(!file_exists($path)) {
echo "ERROR: '{$path}' does not exist\n",