X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fsave.pl;h=9d49244564954f5bbc89d199c3f25fe381fbd2ff;hb=6ccf38d2c9db51eddfc0617f03b25b527b241001;hp=8d7ece38c9f933fa1fb03c25ff1f2969ff6ef76e;hpb=9bafb5297d126d00203d67addaa918c0f056d9a8;p=spider.git diff --git a/cmd/save.pl b/cmd/save.pl index 8d7ece38..9d492445 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 =~ m|/+|/|g; $fn .= '_' . cldate if $date_req; $fn .= '_' . ztime if $time_req; $fn =~ s/\s+//g;