From b41e15975592a899b4cd42769d69036d31f4737f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ji=C5=99=C3=AD=20Filipovi=C4=8D?= Date: Fri, 13 Mar 2009 10:50:38 +0000 Subject: [PATCH] Checkout JP with specific tag. --- org.glite.lb/configure | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/org.glite.lb/configure b/org.glite.lb/configure index 1c6eff9..a26ff69 100755 --- a/org.glite.lb/configure +++ b/org.glite.lb/configure @@ -23,6 +23,7 @@ my $version; my $output; my $lb_tag = ''; my $lbjp_tag = ''; +my $jp_tag = ''; my $sec_tag = ''; my $jobid_tag = ''; @@ -83,6 +84,7 @@ my @opts = ( 'stage=s' => \$stagedir, 'lb-tag=s' => \$lb_tag, 'lbjp-common-tag=s' => \$lbjp_tag, + 'jp-tag=s' => \$jp_tag, 'security-tag=s' => \$sec_tag, 'jobid-tag=s' => \$jobid_tag, 'help' => \$help, @@ -251,6 +253,13 @@ sub mode_checkout() { } } } + if ($jp_tag){ + for (@{$lbmodules{'jp'}}){ + if ("jp.".$_ eq $module){ + $tag = '-r '.$jp_tag; + } + } + } if ($sec_tag){ for (@{$lbmodules{security}}){ if ("security.".$_ eq $module){ @@ -658,6 +667,7 @@ What to build: @{$lbmodules{lb}},@{$lbmodules{security}} --disable-NODE don't build this node --lb-tag=tag checkout LB modules with specific tag + --jp-tag=tag checkout JP modules with specific tag --lbjp-common-tag=tag checkout lbjp-common modules with specific tag --security-tag=tag checkout security modules with specific tag --jobid-tag=tag checkout jobid modules with specific tag -- 1.8.2.3