From: minima Date: Tue, 8 Jan 2002 12:33:11 +0000 (+0000) Subject: fix dots X-Git-Tag: R_1_50~106 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=9b3374e76b3e39843aed5866d3baeafa54563f6d;p=spider.git fix dots --- diff --git a/cmd/save.pl b/cmd/save.pl index 5a3cacdd..9bb74ddd 100644 --- a/cmd/save.pl +++ b/cmd/save.pl @@ -24,9 +24,11 @@ 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 =~ s|/+|/|g; $fn .= '_' . cldate if $date_req; $fn .= '_' . ztime if $time_req;