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

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