projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
done more work on directory now really quite ak1a compatible
[spider.git]
/
perl
/
DXMsg.pm
diff --git
a/perl/DXMsg.pm
b/perl/DXMsg.pm
index 5a796935a65317bd79643a1311b073fe77b1a6bc..a43880a2987dc729d77bac8c29e199ce9d3ca82b 100644
(file)
--- a/
perl/DXMsg.pm
+++ b/
perl/DXMsg.pm
@@
-76,7
+76,7
@@
sub alloc
$self->{msgno} = shift;
my $to = shift;
# $to =~ s/-\d+$//o;
$self->{msgno} = shift;
my $to = shift;
# $to =~ s/-\d+$//o;
- $self->{to} = $to;
+ $self->{to} =
($to eq $main::mycall) ? $main::myalias :
$to;
my $from = shift;
$from =~ s/-\d+$//o;
$self->{from} = uc $from;
my $from = shift;
$from =~ s/-\d+$//o;
$self->{from} = uc $from;
@@
-253,7
+253,7
@@
sub process
$f[3] =~ s/^\///o; # remove the leading /
$f[3] = lc $f[3]; # to lower case;
dbg('msg', "incoming file $f[3]\n");
$f[3] =~ s/^\///o; # remove the leading /
$f[3] = lc $f[3]; # to lower case;
dbg('msg', "incoming file $f[3]\n");
- last SWITCH if $f[3] =~ /^(perl|cmd|local|src|lib|include|sys|msg|connect)/; # prevent access to executables
+ $f[3] = 'packclus/' . $f[3] unless $f[3] =~ /^packclus\//o;
# create any directories
my @part = split /\//, $f[3];
# create any directories
my @part = split /\//, $f[3];