adjust micro's phar patch execution location

This commit is contained in:
crazywhalecc
2023-09-23 17:00:42 +08:00
committed by Jerry Ma
parent 6ed9749732
commit db8aa15677
2 changed files with 8 additions and 8 deletions

View File

@@ -229,10 +229,6 @@ class LinuxBuilder extends BuilderBase
if (php_uname('m') === $this->getOption('arch')) {
$this->sanityCheck($build_target);
}
if ($this->phar_patched) {
SourcePatcher::patchMicro(['phar'], true);
}
}
/**
@@ -290,6 +286,10 @@ class LinuxBuilder extends BuilderBase
}
$this->deployBinary(BUILD_TARGET_MICRO);
if ($this->phar_patched) {
SourcePatcher::patchMicro(['phar'], true);
}
}
/**