Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.mylyn.trac.releng/modules/trac/manifests/plugin.pp')
-rw-r--r--org.eclipse.mylyn.trac.releng/modules/trac/manifests/plugin.pp14
1 files changed, 9 insertions, 5 deletions
diff --git a/org.eclipse.mylyn.trac.releng/modules/trac/manifests/plugin.pp b/org.eclipse.mylyn.trac.releng/modules/trac/manifests/plugin.pp
index afa92ff91..6b87829fb 100644
--- a/org.eclipse.mylyn.trac.releng/modules/trac/manifests/plugin.pp
+++ b/org.eclipse.mylyn.trac.releng/modules/trac/manifests/plugin.pp
@@ -2,19 +2,23 @@ define trac::plugin(
$plugin = "$title",
$egg,
$url,
- $base = "/home/tools/trac",
+ $base = $trac::base,
) {
$srcbase = "$base/src/$plugin"
- file { "$srcbase":
- ensure => "directory",
- }
+ include "trac"
+
+ exec { "prepare $plugin":
+ command => "mkdir -p $srcbase",
+ creates => "$srcbase",
+ require => Exec["prepare trac"]
+ }
exec { "svn checkout $plugin":
command => "svn checkout $url src",
cwd => "$srcbase",
creates => "$srcbase/src",
- require => File["$srcbase"],
+ require => Exec["prepare $plugin"],
}
exec { "setup $plugin":

Back to the top