mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-11 19:05:35 +08:00
Chore
This commit is contained in:
@@ -100,6 +100,9 @@ class PackageBuilder
|
||||
// ignore copy to self
|
||||
if (realpath($src) !== realpath($dst)) {
|
||||
FileSystem::copy($src, $dst);
|
||||
if ($executable) {
|
||||
chmod($dst, 0755);
|
||||
}
|
||||
}
|
||||
|
||||
// file exist
|
||||
|
||||
Reference in New Issue
Block a user