Add --px-tag.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Mon, 22 Oct 2012 19:17:09 +0000 (19:17 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Mon, 22 Oct 2012 19:17:09 +0000 (19:17 +0000)
org.glite.lb/configure

index ff0a5bf..bbfd9f8 100755 (executable)
@@ -249,6 +249,7 @@ my @opts = (
        'jp-tag=s' => \$jp_tag,
        'jobid-tag=s' => \$jobid_tag,
        'canl-tag=s' => \$canl_tag,
+       'px-tag=s' => \$px_tag,
        'help' => \$help,
        'libdir=s' => \$libdir,
        'project=s' => \$project,
@@ -592,6 +593,13 @@ sub mode_checkout() {
                                 }
                        }
                }
+               if ($px_tag) {
+                       for (@{$lbmodules{'px'}}){
+                               if ("px.".$_ eq $module){
+                                        $tag = '-r '.$px_tag;
+                                }
+                       }
+               }
                #if (grep {"lb.".$_ eq $module} @{$lbmodules{lb}}){
                #       print "found";
                #}
@@ -2211,6 +2219,7 @@ What to build:
   --lbjp-common-tag=tag         checkout lbjp-common modules with specific tag
   --jobid-tag=tag              checkout jobid modules with specific tag
   --canl-tag=tag               checkout canl modules with specific tag
+  --px-tag=tag                 checkout px modules with specific tag
 
 Dependencies (summary of what will be used is always printed):
   --with-EXTERNAL=PATH         where to look for an external [autodetect]