fix tar source path

This commit is contained in:
Dennis Eichhorn 2018-10-20 18:45:31 +02:00
parent d708546c27
commit 6e6ce55bb8

View File

@ -102,7 +102,7 @@ class Tar implements ArchiveInterface
$destination = \str_replace('\\', '/', $destination); $destination = \str_replace('\\', '/', $destination);
$destination = \rtrim($destination, '/'); $destination = \rtrim($destination, '/');
$tar = new \PharData($destination); $tar = new \PharData($source);
$tar->extractTo($destination . '/'); $tar->extractTo($destination . '/');