diff --git a/initCobraToolbox.m b/initCobraToolbox.m index 653202f4d0..832bd3d0de 100644 --- a/initCobraToolbox.m +++ b/initCobraToolbox.m @@ -206,7 +206,7 @@ function initCobraToolbox() end %get the current content of the init Folder - dirContent = getFilesInDir('gitFileType','ignored'); + dirContent = getFilesInDir('gitTypeFlag','ignored'); % add the folders of The COBRA Toolbox folders = {'tutorials', 'papers', 'binary', 'deprecated', 'src', 'test', '.tmp'}; diff --git a/src/base/install/removeGitIgnoredNewFiles.m b/src/base/install/removeGitIgnoredNewFiles.m index 40ba2bb83a..653adc2865 100644 --- a/src/base/install/removeGitIgnoredNewFiles.m +++ b/src/base/install/removeGitIgnoredNewFiles.m @@ -14,7 +14,7 @@ function removeGitIgnoredNewFiles(directory, oldcontent) currentDir = cd(directory); % get the new Content of the folder. -newContent = getFilesInDir('gitFileType','ignored'); +newContent = getFilesInDir('gitTypeFlag','ignored'); % get all .log files that were present only after initCobraToolbox was called. newIgnoredFiles = setdiff(newContent, oldcontent);