IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20851


Ignore:
Timestamp:
Nov 26, 2008, 10:48:26 AM (17 years ago)
Author:
Paul Price
Message:

Allowing use of filenames other than Nebulous.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/stack_inputs.pl

    r20436 r20851  
    7171    foreach my $type ( keys %{EXTENSIONS()} ) {
    7272        my $ext = ${EXTENSIONS()}{$type}; # Extension
    73         my $neb = "$warp_path$ext"; # Nebulous file
    74         my $source = `neb-locate --path $neb` or die "Unable to locate $neb\n"; # Actual file
     73        my $file = "$warp_path$ext"; # File
     74        my $source = `ipp_datapath.pl $file` or die "Unable to locate $file\n"; # Resolved file name
    7575        chomp $source;
    76         my ($target) = $source =~ m|^.*:(.*)|; # Target name
     76        my ($target) = $source =~ m|^.*[:/](.*)|; # Target name
    7777        !system "cp $source $target" or die "Unable to copy $source\n";
    7878        print $list "\t$type\tSTR\t$target\n" if defined $input;
Note: See TracChangeset for help on using the changeset viewer.