Changed: Removed pwd command

--HG--
branch : compatibility
This commit is contained in:
kervala 2014-03-23 20:36:05 +01:00
parent f4233222e5
commit a62393a9ed

View file

@ -741,13 +741,11 @@ void CPatchManager::createBatchFile(CProductDescriptionForClient &descFile, bool
throw Exception (err);
}
//use bat if windows if not use sh
#ifdef NL_OS_WINDOWS
#ifdef NL_OS_WINDOWS
fprintf(fp, "@echo off\n");
#elif NL_OS_MAC
// mac patcher doesn't work yet
#else
fprintf(fp, "#!/bin/sh\npwd\n");
#endif
#else
fprintf(fp, "#!/bin/sh\n");
#endif
}
// Unpack files with category ExtractPath non empty