From 4babd52d8dc1f1c00519d964a85cea4eeade6c5c Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 27 Sep 2006 15:26:03 -0400 Subject: BUG: The copy constructor should copy the escape settings. --- Source/cmCustomCommand.cxx | 6 +++--- 1 file 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; } -- cgit v0.12