Skip to content

Commit

Permalink
#38: Add a missing function
Browse files Browse the repository at this point in the history
  • Loading branch information
jgawor committed Nov 30, 2015
1 parent 04406dc commit aa884bc
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ abstract class AbstractTask extends DefaultTask {
}
}

protected File getUserDir(Project project) {
return getUserDir(project, getInstallDir(project))
}

protected File getUserDir(Project project, File installDir) {
return (project.liberty.userDir == null) ? new File(installDir, 'usr') : new File(project.liberty.userDir)
}
Expand Down

0 comments on commit aa884bc

Please sign in to comment.