From 9b3374e76b3e39843aed5866d3baeafa54563f6d Mon Sep 17 00:00:00 2001 From: minima Date: Tue, 8 Jan 2002 12:33:11 +0000 Subject: [PATCH] fix dots --- cmd/save.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.43.0