Skip to content

Commit

Permalink
Merge pull request #29 from cameronmurphy/patch-1
Browse files Browse the repository at this point in the history
Preserve vendor file permissions
  • Loading branch information
taylorotwell authored Feb 14, 2020
2 parents e3ce963 + 11976d9 commit dec93b6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions stubs/runtime-with-vendor-download.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@
$_ENV['VAPOR_ARTIFACT_NAME']
));

$zip = new ZipArchive;
$zip->open('/tmp/vendor.zip');
$zip->extractTo('/tmp/vendor');
$zip->close();
exec('unzip /tmp/vendor.zip -d /tmp/vendor');

unlink('/tmp/vendor.zip');

Expand Down

0 comments on commit dec93b6

Please sign in to comment.