Permalink
Browse files

fixed MPE for plugin already installed

  • Loading branch information...
graemerocher committed May 11, 2010
1 parent 6447df7 commit 561c8118789e4966ef46642ba35e7ebe7b4f3b43
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/java/org/codehaus/groovy/grails/resolve/PluginInstallEngine.groovy
@@ -308,7 +308,8 @@ class PluginInstallEngine {
if (currentInstall?.exists()) {
PluginBuildSettings pluginSettings = pluginSettings
- def pluginInfo = pluginSettings.getPluginInfo(currentInstall.file.absolutePath)
+ def pluginDir = currentInstall.file
+ def pluginInfo = pluginSettings.getPluginInfo(pluginDir.absolutePath)
// if the versions are the same no need to continue
if(version == pluginInfo?.version) return true

0 comments on commit 561c811

Please sign in to comment.