mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
BUGFIX: fix the gitignore updates done by phing update_modules
This commit is contained in:
parent
4bb7d6a940
commit
095f35528e
@ -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 '';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user