1
0
Fork 0

chmod new file when running self-update

pull/588/head
Jordi Boggiano 2012-04-16 14:39:53 +02:00
parent fe04dbc1c3
commit a9ccfeb548
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ EOT
$rfs->copy('getcomposer.org', $remoteFilename, $tempFilename); $rfs->copy('getcomposer.org', $remoteFilename, $tempFilename);
try { try {
chmod($tempFilename, 0755);
// test the phar validity // test the phar validity
$phar = new \Phar($tempFilename); $phar = new \Phar($tempFilename);
// free the variable to unlock the file // free the variable to unlock the file