ENH: fix broken tests

This commit is contained in:
Bill Hoffman 2006-02-08 15:37:54 -05:00
parent 55dd61946b
commit ccdca71332
3 changed files with 2 additions and 3 deletions

View File

@ -211,7 +211,6 @@ bool cmAddCustomCommandCommand::InitialPass(std::vector<std::string> const& args
this->SetError(msg.str().c_str());
return false;
}
// Choose which mode of the command to use.
if(source.empty() && output.empty())
{

View File

@ -64,7 +64,7 @@ bool cmAddCustomTargetCommand::InitialPass(std::vector<std::string> const& args)
{
doing = doing_depends;
}
if(copy == "WORKING_DIRECTORY")
else if(copy == "WORKING_DIRECTORY")
{
doing = doing_working_directory;
}

View File

@ -185,5 +185,5 @@ void cmVTKWrapJavaCommand::FinalPass()
const char* no_working_directory = 0;
m_Makefile->AddUtilityCommand((m_LibraryName+"JavaClasses").c_str(),
true, no_output,
alldepends, "", no_working_directory);
alldepends, no_working_directory, "");
}