From a94d5c66f29ae77337522af66f1faf0915bd9981 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Wed, 9 May 2018 19:18:14 -0400 Subject: [PATCH] added another deref hopefully just missed this one case; our expected linked files never showed up in archive. --- scripts/archival/shared_snarfer.pl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/archival/shared_snarfer.pl b/scripts/archival/shared_snarfer.pl index 3a24cc4e..efa6bd20 100644 --- a/scripts/archival/shared_snarfer.pl +++ b/scripts/archival/shared_snarfer.pl @@ -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); -- 2.34.1