Make downloaded PHARs executable

[MAILPOET-2405]
This commit is contained in:
Jan Jakeš
2019-09-25 13:42:46 +02:00
committed by Jack Kitterhing
parent 5bbf1e2baf
commit d4bcff8f2b

View File

@@ -28,5 +28,6 @@ foreach ($tools as $url => $path) {
}
file_put_contents($phar_path, $resource);
file_put_contents($phar_info_path, $url);
chmod($phar_path, 0755);
fwrite(STDERR, " done.\n");
}