From a96016cae15113640d2407d1e5d5fff71f2c573f Mon Sep 17 00:00:00 2001 From: "Fred T. Hamster" Date: Mon, 26 Aug 2013 03:02:20 -0400 Subject: [PATCH] back to former version. was just missing the folder. --- scripts/archival/shared_snarfer.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/archival/shared_snarfer.pl b/scripts/archival/shared_snarfer.pl index c6b94910..f37cdcbf 100644 --- a/scripts/archival/shared_snarfer.pl +++ b/scripts/archival/shared_snarfer.pl @@ -129,9 +129,7 @@ sub chdir_to_top { # magic to get the paths to work right. local($drive) = substr($directory, 0, 4); # get just drive letter biz. #print "going to change to $drive\n"; - if (length($drive) > 0) { - chdir($drive); - } + chdir($drive); #print "cwd now=" . cwd() . "\n"; $directory = substr($directory, 4); # rip off absolutist path. #print "using dir now as $directory\n"; @@ -206,6 +204,7 @@ sub snarf_file_list { local($target_file) = &snarf_name($prefix, $number); local($currdir) = cwd(); +print "got root as: '$root'\n"; chdir("$root"); local(@files) = &glob_list($file_pattern); -- 2.34.1