From a2878846195dd0eba742099fabc2a1bda8e10a71 Mon Sep 17 00:00:00 2001 From: Pavel Puchkin Date: Wed, 26 Feb 2014 22:52:47 +1100 Subject: [PATCH] There is no need in DIRECTORY_SEPARATOR since it Unix --- src/Composer/Downloader/GzipDownloader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Downloader/GzipDownloader.php b/src/Composer/Downloader/GzipDownloader.php index 6736c9cc1..e14b7de02 100644 --- a/src/Composer/Downloader/GzipDownloader.php +++ b/src/Composer/Downloader/GzipDownloader.php @@ -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)) {