summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index b27855f..a2595d9 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -697,13 +697,13 @@ cmLocalUnixMakefileGenerator3
<< " -E remove -f\n"
<< "\n";
- if(this->Makefile->GetDefinition("CMAKE_EDIT_COMMAND"))
+ if(const char* edit_cmd =
+ this->Makefile->GetDefinition("CMAKE_EDIT_COMMAND"))
{
makefileStream
<< "# The program to use to edit the cache.\n"
<< "CMAKE_EDIT_COMMAND = "
- << (this->ConvertToOutputForExisting(
- this->Makefile->GetDefinition("CMAKE_EDIT_COMMAND"))) << "\n"
+ << this->Convert(edit_cmd,FULL,SHELL) << "\n"
<< "\n";
}