removing irrelevant error message, fixes #4051

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6529 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
gwoo 2008-03-09 04:18:59 +00:00
parent ce4ea52136
commit b3842566dc

View file

@ -67,7 +67,7 @@ class ProjectTask extends Shell {
if($project) {
if($project{0} == '/' || $project{0} == DS) {
$this->Dispatch->parseParams(array('-working', $project));
$this->Dispatch->parseParams(array('-working', $project, '-app', false));
} else {
$this->Dispatch->parseParams(array('-app', $project));
}
@ -110,10 +110,6 @@ class ProjectTask extends Shell {
exit();
}
if (!is_dir($this->params['root'])) {
$this->err(__('The directory path you supplied was not found. Please try again.', true));
}
if($this->bake($project)) {
$path = Folder::slashTerm($project);
if ($this->createHome($path)) {