X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fsave.pl;h=5a3cacdd87a392c12d1fd4001135a88383e179f0;hb=8486af73ead7e98c81c244cafcdfceabb21f10f7;hp=8d7ece38c9f933fa1fb03c25ff1f2969ff6ef76e;hpb=3a020ba6be87b9db9730f926dc03d59ecb87129e;p=spider.git diff --git a/cmd/save.pl b/cmd/save.pl index 8d7ece38..5a3cacdd 100644 --- a/cmd/save.pl +++ b/cmd/save.pl @@ -25,6 +25,9 @@ if ($line =~ /-a/) { # append to the file } 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;