remove debugging
[spider.git] / cmd / save.pl
index 8d7ece38c9f933fa1fb03c25ff1f2969ff6ef76e..1689d38751313aeb76c58699f58a0df4c55d0580 100644 (file)
@@ -24,7 +24,12 @@ if ($line =~ /-a/) {                 # append to the file
        $app_req = '>>';
 }
 
+#$DB::single = 1;
+
 my ($fn, $rest) = split /\s+/, $line, 2;
+$fn = "$main::root/packclus/$fn" unless $fn =~ m|^/|;
+$fn =~ s/\.\.//g;
+$fn =~ s|/+|/|g;
 $fn .= '_' . cldate if $date_req;
 $fn .= '_' . ztime if $time_req;
 $fn =~ s/\s+//g;