Set comspec substitute the right way

This commit is contained in:
Ken Martin 2002-09-30 14:01:51 -04:00
parent 5b6d899bc6
commit 6672c295c7
1 changed files with 1 additions and 2 deletions

View File

@ -433,8 +433,7 @@ int cmake::AddCMakePaths(const char *arg0)
"Path to CMake installation.", cmCacheManager::INTERNAL);
#ifdef _WIN32
std::string path = cmSystemTools::GetFilenamePath(cMakeSelf);
std::string comspec = path + "\\cmw9xcom";
std::string comspec = "cmw9xcom.exe";
cmSystemTools::SetWindows9xComspecSubstitute(comspec.c_str());
#endif
return 1;