Merge pull request #14 from mateusz/update_modules_typo

BUGFIX: fix the gitignore updates done by phing update_modules
This commit is contained in:
Sam Minnée 2012-05-30 17:05:18 -07:00
commit 284eec1852

View File

@ -156,7 +156,7 @@ class LoadModulesTask extends SilverStripeBuildTask {
if (!$storeLocally && !$usePiston && file_exists('.gitignore')) {
$gitIgnore = file_get_contents('.gitignore');
if (strpos($gitIgnore, $moduleName) === false) {
$this->exec("echo $$moduleName >> .gitignore");
$this->exec("echo $moduleName >> .gitignore");
}
}
} else {
@ -454,4 +454,4 @@ class LoadModulesTask_PistonLoader extends LoadModulesTask_Loader {
function getModifiedFiles() {
return '';
}
}
}