added dereferencing of links during snarf
[feisty_meow.git] / scripts / archival / shared_snarfer.pl
index 5d1ac7377b1090978732d32bb2ffb31627f07b1b..3a24cc4eb9ff584770c2a4761842366c158e69a8 100644 (file)
@@ -184,6 +184,8 @@ sub snarfer {
   }
 
   local($outcome) = 0xff & system $tar_tool, 
+#hmmm: trying to dereference symbolic links and stop missing stuff.
+"-h",
       "-rf", &canonicalize($target_file), @excludes,
       "--files-from=" . &canonicalize($temp_file);
   if ($outcome) {
@@ -225,7 +227,10 @@ sub snarf_file_list {
     }
     local($outcome) = 0xff & system $tar_tool,
 #"--directory=" . "$root",
-        @extra_flags, "-rf", &canonicalize($target_file), @excludes, $i;
+        @extra_flags, 
+#hmmm: trying to dereference symbolic links and stop missing stuff.
+"-h",
+"-rf", &canonicalize($target_file), @excludes, $i;
     if ($outcome) { die("failure to archive"); }
   }
   chdir("$currdir");