Changed: Use fullpath in batch file

This commit is contained in:
kervala 2014-03-23 20:27:09 +01:00
parent 02e8393896
commit 37f9c6dd7e

View file

@ -536,7 +536,6 @@ int main(int argc, char **argv)
strcpy(filename, argv[0]); strcpy(filename, argv[0]);
// ignore signal SIGPIPE generated by libwww // ignore signal SIGPIPE generated by libwww
signal(SIGPIPE, sigHandler); signal(SIGPIPE, sigHandler);
@ -547,7 +546,7 @@ int main(int argc, char **argv)
// 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
CPatchManager *pPM = CPatchManager::getInstance(); CPatchManager *pPM = CPatchManager::getInstance();
pPM->setRyzomFilename(NLMISC::CFile::getFilename(filename)); pPM->setRyzomFilename(filename);
///////////////////////////////// /////////////////////////////////
// Initialize the application. // // Initialize the application. //