mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
Changed: Create .sh file under Unix
This commit is contained in:
parent
350c6ec5d7
commit
41ac5d56d8
2 changed files with 7 additions and 0 deletions
|
@ -540,6 +540,9 @@ int main(int argc, char **argv)
|
||||||
// ignore signal SIGPIPE generated by libwww
|
// ignore signal SIGPIPE generated by libwww
|
||||||
signal(SIGPIPE, sigHandler);
|
signal(SIGPIPE, sigHandler);
|
||||||
|
|
||||||
|
// Delete the .sh file because it s not useful anymore
|
||||||
|
if (NLMISC::CFile::fileExists("updt_nl.sh"))
|
||||||
|
NLMISC::CFile::deleteFile("updt_nl.sh");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// initialize patch manager and set the ryzom full path, before it's used
|
// initialize patch manager and set the ryzom full path, before it's used
|
||||||
|
|
|
@ -168,7 +168,11 @@ CPatchManager::CPatchManager() : State("t_state"), DataScanState("t_data_scan_st
|
||||||
{
|
{
|
||||||
DescFilename = "ryzom_xxxxx.idx";
|
DescFilename = "ryzom_xxxxx.idx";
|
||||||
|
|
||||||
|
#ifdef NL_OS_WINDOWS
|
||||||
UpdateBatchFilename = "updt_nl.bat";
|
UpdateBatchFilename = "updt_nl.bat";
|
||||||
|
#else
|
||||||
|
UpdateBatchFilename = "updt_nl.sh";
|
||||||
|
#endif
|
||||||
|
|
||||||
// use current directory by default
|
// use current directory by default
|
||||||
setClientRootPath("./");
|
setClientRootPath("./");
|
||||||
|
|
Loading…
Reference in a new issue