[gant-scm] [10450] gant/trunk/build.gradle: Add back in the removed evaluate.

View: New views
1 Messages — Rating Filter:   Alert me  

[gant-scm] [10450] gant/trunk/build.gradle: Add back in the removed evaluate.

by russel-9 :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
[10450] gant/trunk/build.gradle: Add back in the removed evaluate.
Revision
10450
Author
russel
Date
2009-11-10 05:55:16 -0600 (Tue, 10 Nov 2009)

Log Message

Add back in the removed evaluate.

Modified Paths

Diff

Modified: gant/trunk/build.gradle (10449 => 10450)

--- gant/trunk/build.gradle	2009-11-10 11:55:11 UTC (rev 10449)
+++ gant/trunk/build.gradle	2009-11-10 11:55:16 UTC (rev 10450)
@@ -167,7 +167,7 @@
   compileGroovy.doFirst { println ( '\n\tUsing Groovy version ' + groovyVersion + '\n' ) }
   test.doFirst { groovyAntTaskTestVersionPropertyFile.write ( 'groovyAntTaskTestVersion = ' + groovyVersion ) }
   def  installDirectory = '/usr/share/gant'
-  try { installDirectory = gant_installPath }
+  try { installDirectory = evaluate ( '"' + gant_installPath + '"' ) }
   catch ( MissingPropertyException mpe ) { /* Intentionally left blank. */ }
   task install ( dependsOn : 'assemble' , description : "Install Gant (compiled against Groovy ${groovyVersion}) to ${installDirectory}." ) << {
     def installBinDirectory = installDirectory + '/bin'


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email