refactor musl tool doctor

This commit is contained in:
crazywhalecc
2023-10-22 21:33:09 +08:00
parent 5cfba6e83b
commit 8191444fe9
3 changed files with 75 additions and 70 deletions

View File

@@ -152,6 +152,9 @@ class FileSystem
if (self::$_extract_hook === []) {
SourcePatcher::init();
}
if (!is_dir(SOURCE_PATH)) {
self::createDir(SOURCE_PATH);
}
if ($move_path !== null) {
$move_path = SOURCE_PATH . '/' . $move_path;
}