Fixed: Removed chmod because useless
This commit is contained in:
parent
e4ba5c6469
commit
b9655e7a86
1 changed files with 11 additions and 15 deletions
|
@ -825,14 +825,10 @@ void CPatchManager::createBatchFile(CProductDescriptionForClient &descFile, bool
|
||||||
fprintf(fp, "del %s\n", DstName.c_str());
|
fprintf(fp, "del %s\n", DstName.c_str());
|
||||||
fprintf(fp, "if exist %s goto loop%u\n", DstName.c_str(), nblab);
|
fprintf(fp, "if exist %s goto loop%u\n", DstName.c_str(), nblab);
|
||||||
fprintf(fp, "move %s %s\n", SrcName.c_str(), DstPath.c_str());
|
fprintf(fp, "move %s %s\n", SrcName.c_str(), DstPath.c_str());
|
||||||
#elif NL_OS_MAC
|
|
||||||
//no patcher on osx
|
|
||||||
#else
|
#else
|
||||||
fprintf(fp, "chmod 777 %s\n", DstName.c_str());
|
|
||||||
fprintf(fp, "rm -rf %s\n", DstName.c_str());
|
fprintf(fp, "rm -rf %s\n", DstName.c_str());
|
||||||
fprintf(fp, "mv %s %s\n", SrcName.c_str(), DstPath.c_str());
|
fprintf(fp, "mv %s %s\n", SrcName.c_str(), DstPath.c_str());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue