summaryrefslogtreecommitdiffstats
path: root/Source/cmCustomCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-09-27 19:26:03 (GMT)
committerBrad King <brad.king@kitware.com>2006-09-27 19:26:03 (GMT)
commit4babd52d8dc1f1c00519d964a85cea4eeade6c5c (patch)
treee25c10f8ccddfa76b5db398b15ef298f42fd570d /Source/cmCustomCommand.cxx
parentf785ae9ac397aad66443c9c84807c929368c969b (diff)
downloadCMake-4babd52d8dc1f1c00519d964a85cea4eeade6c5c.zip
CMake-4babd52d8dc1f1c00519d964a85cea4eeade6c5c.tar.gz
CMake-4babd52d8dc1f1c00519d964a85cea4eeade6c5c.tar.bz2
BUG: The copy constructor should copy the escape settings.
Diffstat (limited to 'Source/cmCustomCommand.cxx')
-rw-r--r--Source/cmCustomCommand.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmCustomCommand.cxx b/Source/cmCustomCommand.cxx
index debc805..94c08ec 100644
--- a/Source/cmCustomCommand.cxx
+++ b/Source/cmCustomCommand.cxx
@@ -30,10 +30,10 @@ cmCustomCommand::cmCustomCommand(const cmCustomCommand& r):
Depends(r.Depends),
CommandLines(r.CommandLines),
Comment(r.Comment),
- WorkingDirectory(r.WorkingDirectory)
+ WorkingDirectory(r.WorkingDirectory),
+ EscapeOldStyle(r.EscapeOldStyle),
+ EscapeAllowMakeVars(r.EscapeAllowMakeVars)
{
- this->EscapeOldStyle = true;
- this->EscapeAllowMakeVars = false;
this->Used = false;
}