IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 11211


Ignore:
Timestamp:
Jan 19, 2007, 5:25:35 PM (19 years ago)
Author:
jhoblitt
Message:

add workdir support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/phase0_imfile.pl

    r11151 r11211  
    3131use Pod::Usage qw( pod2usage );
    3232
    33 my ($cache, $exp_tag, $class_id, $uri, $no_update);
     33my ($cache, $exp_tag, $class_id, $uri, $workdir, $no_update);
    3434
    3535GetOptions(
     
    3838    'class_id|i=s'  => \$class_id,
    3939    'uri|u=s'       => \$uri,
     40    'workdir|w=s'   => \$workdir,
    4041    'no-update'     => \$no_update
    4142) or pod2usage( 2 );
     
    103104
    104105# Resolve the input URI
     106$uri = File::Spec->catfile($workdir, $uri);
    105107$uri = $ipprc->convert_filename_absolute($uri);
    106108
Note: See TracChangeset for help on using the changeset viewer.