Browse Source

Merge branch '1.8'

Jordi Boggiano 5 years ago
parent
commit
3d88108dea
1 changed files with 0 additions and 4 deletions
  1. 0 4
      src/Composer/Command/SelfUpdateCommand.php

+ 0 - 4
src/Composer/Command/SelfUpdateCommand.php

@@ -351,10 +351,6 @@ TAGSPUBKEY
                 @copy($localFilename, $backupTarget);
             }
 
-            if ($targetFilename = getenv('COMPOSER_SELF_UPDATE_TARGET')) {
-                $localFilename = realpath($targetFilename) ?: $targetFilename;
-            }
-
             rename($newFilename, $localFilename);
 
             return null;