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