From 6672c295c7f0508c6a0bf45cdf83764ac3e250fa Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Mon, 30 Sep 2002 14:01:51 -0400 Subject: [PATCH] Set comspec substitute the right way --- Source/cmake.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/cmake.cxx b/Source/cmake.cxx index b30b5ff7d..7c360f878 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -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;