projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
6ccf38d
)
fix syntax error
author
minima
<minima>
Tue, 8 Jan 2002 12:29:48 +0000
(12:29 +0000)
committer
minima
<minima>
Tue, 8 Jan 2002 12:29:48 +0000
(12:29 +0000)
cmd/save.pl
patch
|
blob
|
history
diff --git
a/cmd/save.pl
b/cmd/save.pl
index 9d49244564954f5bbc89d199c3f25fe381fbd2ff..5a3cacdd87a392c12d1fd4001135a88383e179f0 100644
(file)
--- 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;
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;
$fn .= '_' . cldate if $date_req;
$fn .= '_' . ztime if $time_req;
$fn =~ s/\s+//g;