Permalink
Browse files

Merge pull request #159 from majna/2.0-plugin-task

Fix for lowercased schema folder when baking plugin skel.
  • Loading branch information...
2 parents 8149e4f + 29e4cad commit dbcdbbb64fd6afdde5acd65926c7145c2f26ac1d @lorenzo lorenzo committed Jul 28, 2011
@@ -98,7 +98,7 @@ public function bake($plugin) {
if (strtolower($looksGood) == 'y') {
$Folder = new Folder($this->path . $plugin);
$directories = array(
- 'Config' . DS . 'schema',
+ 'Config' . DS . 'Schema',
'Model' . DS . 'Behavior',
'Model' . DS . 'Datasource',
'Console' . DS . 'Command' . DS . 'Task',
@@ -86,7 +86,7 @@ public function testBakeFoldersAndFiles() {
$this->assertTrue(is_dir($path), 'No plugin dir %s');
$directories = array(
- 'Config' . DS . 'schema',
+ 'Config' . DS . 'Schema',
'Model' . DS . 'Behavior',
'Model' . DS . 'Datasource',
'Console' . DS . 'Command' . DS . 'Task',

0 comments on commit dbcdbbb

Please sign in to comment.