Browse Source

for debugging

till 13 years ago
parent
commit
9922301841
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Composer/Downloader/FileDownloader.php

+ 2 - 2
src/Composer/Downloader/FileDownloader.php

@@ -66,10 +66,10 @@ class FileDownloader implements DownloaderInterface
 
 
         $this->io->write("  - Package <info>" . $package->getName() . "</info> (<comment>" . $package->getPrettyVersion() . "</comment>)");
         $this->io->write("  - Package <info>" . $package->getName() . "</info> (<comment>" . $package->getPrettyVersion() . "</comment>)");
 
 
-        $url = $this->processUrl($url);
+        $processUrl = $this->processUrl($url);
 
 
         try {
         try {
-            $this->rfs->copy($package->getSourceUrl(), $url, $fileName);
+            $this->rfs->copy($package->getSourceUrl(), $processUrl, $fileName);
 
 
             if (!file_exists($fileName)) {
             if (!file_exists($fileName)) {
                 throw new \UnexpectedValueException($url.' could not be saved to '.$fileName.', make sure the'
                 throw new \UnexpectedValueException($url.' could not be saved to '.$fileName.', make sure the'