From 07d7027bf0639c54175f2c5b3b37747a8ffca492 Mon Sep 17 00:00:00 2001 From: hjp Date: Tue, 28 Nov 2006 16:00:58 +0000 Subject: [PATCH] Made prune paths relative --- lib/Simba/DA.pm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/Simba/DA.pm b/lib/Simba/DA.pm index 04a6a20..d16a087 100644 --- a/lib/Simba/DA.pm +++ b/lib/Simba/DA.pm @@ -35,11 +35,13 @@ sub new { # * Other system dependent parameters, e.g., whether to use ACLs # # For now we just hardcode the stuff: + $self->{prune} = { - '/proc' => 1, - '/sys' => 1, - '/nfs' => 1, - '/tmp/hyre_be_dragones' => 1, + # directories to prune. These are relative + # paths which may not be ideal. + './proc' => 1, + './sys' => 1, + './nfs' => 1, }; $self->{charset} = 'utf-8'; $self->{fh_out} = exists($opt->{fh_out}) ? $opt->{fh_out} : \*STDOUT;