Skip to content

Commit a5ad74b

Browse files
committed
debug
1 parent 63cabb0 commit a5ad74b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

module/DeployAgent/src/Resource/Archive/Extractor/TarGzExtractor.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ public function extract(\SplFileInfo $archive, \SplFileInfo $destination)
3737
unlink(str_replace('.tar.gz', '.tar', $archive->getPathname()));
3838
} else {
3939
exec('tar xzf ' . $archive->getPathname() . ' -C ' . $destination->getPathname());
40+
41+
var_dump('tar xzf ' . $archive->getPathname() . ' -C ' . $destination->getPathname());
42+
var_dump(glob($destination->getPathname() . '/*'));
43+
4044
unlink($archive->getPathname());
4145
}
4246

0 commit comments

Comments
 (0)