fix syntax error
authorminima <minima>
Tue, 8 Jan 2002 12:29:48 +0000 (12:29 +0000)
committerminima <minima>
Tue, 8 Jan 2002 12:29:48 +0000 (12:29 +0000)
cmd/save.pl

index 9d49244564954f5bbc89d199c3f25fe381fbd2ff..5a3cacdd87a392c12d1fd4001135a88383e179f0 100644 (file)
@@ -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;