added another deref
authorChris Koeritz <fred@gruntose.com>
Wed, 9 May 2018 23:18:14 +0000 (19:18 -0400)
committerChris Koeritz <fred@gruntose.com>
Wed, 9 May 2018 23:18:14 +0000 (19:18 -0400)
hopefully just missed this one case; our expected linked files never showed up in archive.

scripts/archival/shared_snarfer.pl

index 3a24cc4eb9ff584770c2a4761842366c158e69a8..efa6bd20b347e1d6f1ecf48a4f5f4298aab38c3d 100644 (file)
@@ -387,7 +387,12 @@ sub backup_number {
   print NUM_PREFIX $number_prefix;
   close(NUM_PREFIX);
 
-  $outcome = 0xff & system $tar_tool, "-rf",
+  $outcome = 0xff & system $tar_tool, 
+
+#hmmm: trying to dereference symbolic links and stop missing stuff.
+"-h",
+
+"-rf",
       &canonicalize($target_file), &canonicalize($prefix_file);
   if ($outcome) { die("failure to archive"); }
   unlink($prefix_file);