From 7aec024997f30aa766cf87a04be576fd3b77d802 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 29 Aug 2001 17:21:21 -0400 Subject: [PATCH] opps --- Source/cmake.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 5dbf630ea..c1c3128e9 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -132,10 +132,7 @@ void cmake::AddCMakePaths(const std::vector& args) // Find our own executable. std::string cMakeSelf = args[0]; cmSystemTools::ConvertToUnixSlashes(cMakeSelf); - if(!cmSystemTools::FileExists(cMakeSelf.c_str())) - { - cMakeSelf = cmSystemTools::FindProgram(cMakeSelf.c_str()); - } + cMakeSelf = cmSystemTools::FindProgram(cMakeSelf.c_str()); if(!cmSystemTools::FileExists(cMakeSelf.c_str())) { #ifdef CMAKE_BUILD_DIR