修复模块build.sh没权限问题

This commit is contained in:
a158
2025-12-19 18:39:22 +08:00
parent 886da93169
commit e2a3da8f08

View File

@@ -409,7 +409,10 @@ void fastweb::install_module_linux(fastweb::module_info info)
std::cerr << result << std::endl;
return;
}
cmd = tdir+"/build.sh";
system(std::string("chmod 777 " + cmd).c_str());
auto [code2,result2] = execute_command(cmd);
if(code2 != 0)
{