Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
minor change
  • Loading branch information
matthiasg committed Sep 6, 2014
commit e46d560be762ef2fc477245d35a4ee24483eb429
4 changes: 2 additions & 2 deletions postInstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ require('find-java-home')(function(err, home){
});

function getCorrectSoForPlatform(soFiles){
var so = getCorrectSoForPlatform(soFiles);
var so = _getCorrectSoForPlatform(soFiles);
return removeDuplicateJre(so);
}

function removeDuplicateJre(filePath){
while(filePath.indexOf('jre/jre')>0){
while(filePath.indexOf('jre/jre')>=0){
filePath = filePath.replace('jre/jre','jre');
}
return filePath;
Expand Down