IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 27, 2008, 2:25:01 PM (18 years ago)
Author:
bills
Message:

Fix dsreg -del

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataStoreServer/scripts/dsreg

    r16673 r16690  
    9898    # Read the product index into a buffer, minus $fileset's entry
    9999
    100     open(IO, "$ds_dir/$product/index.txt")
    101         or die("Failed to open '$ds_dir/$product/index.txt' for reading\n");
     100    open(IO, "$ds_dir/$product/index.lst")
     101        or die("Failed to open '$ds_dir/$product/index.lst' for reading\n");
    102102
    103103    my $buf;
     
    122122    # Write the new index
    123123
    124     open(IO, ">", "$ds_dir/$product/index.txt")
    125         or die("Failed to open '$ds_dir/$product/index.txt' for writing\n");
     124    open(IO, ">", "$ds_dir/$product/index.lst")
     125        or die("Failed to open '$ds_dir/$product/index.lst' for writing\n");
    126126       
    127127    print IO $buf;
     
    133133    unlink("$ds_dir/$product/$fileset/index.txt")
    134134        or die("Failed to delete '$ds_dir/$product/$fileset/index.txt'\n");
    135 
    136135
    137136    # Check the root index; if the fileset we just removed was the
Note: See TracChangeset for help on using the changeset viewer.