1
0
Fork 0

There is no need in DIRECTORY_SEPARATOR since it Unix

pull/2765/head
Pavel Puchkin 2014-02-26 22:52:47 +11:00
parent 3811fe7d8b
commit a287884619
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class GzipDownloader extends ArchiveDownloader
// Try to use gunzip on *nix
if (!defined('PHP_WINDOWS_VERSION_BUILD')) {
$targetDirectory = $path . DIRECTORY_SEPARATOR . basename($file);
$targetDirectory = $path . '/' . basename($file);
$command = 'gzip -d < ' . escapeshellarg($file) . ' > ' . escapeshellarg($targetDirectory);
if (0 === $this->process->execute($command, $ignoredOutput)) {