* Use find delete instead rm.

This commit is contained in:
Guan Xiying
2022-08-02 15:28:45 +08:00
parent 3368eddc78
commit d089fff6bb
+1 -1
View File
@@ -99,7 +99,7 @@ function zdRun()
$tmpCommonPath = RUNTIME_ROOT . 'tmp/common';
if(file_exists($tmpCommonPath)) system("rm -rf $tmpCommonPath");
system("cp -r {$zdRoot}common $tmpCommonPath");
system("rm {$zdRoot}sql/*");
system("find {$zdRoot}sql/ -type f -delete");
/* Generate SQL files. */
$tables = array();