Permalink
Browse files

Merge pull request #3 from kleinerm/master

Pull the 3.0.10 RC3 with some bug fix to PsychJava installation.
  • Loading branch information...
2 parents 2518639 + e713cec commit 5f82e143cfc72a64c9c8eb4a6edc74e7a070e33a @kleinerm kleinerm committed May 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Psychtoolbox/PsychtoolboxPostInstallRoutine.m
@@ -477,10 +477,10 @@ function PsychtoolboxPostInstallRoutine(isUpdate, flavor)
% Look for the first instance of PsychJava in the classpath and
% replace it with the new one. All other instances will be
% ignored.
- if isempty(strfind('PsychJava', fileContents{i}))
+ if isempty(strfind(fileContents{i}, 'PsychJava'))
newFileContents{j, 1} = fileContents{i}; %#ok<AGROW>
j = j + 1;
- elseif ~isempty(strfind('PsychJava', fileContents{i})) & ~pathInserted %#ok<AND2>
+ elseif ~isempty(strfind(fileContents{i}, 'PsychJava')) & ~pathInserted %#ok<AND2>
newFileContents{j, 1} = path_PsychJava; %#ok<AGROW>
pathInserted = 1;
j = j + 1;

0 comments on commit 5f82e14

Please sign in to comment.