From: Chris Koeritz Date: Wed, 9 May 2018 23:18:14 +0000 (-0400) Subject: added another deref X-Git-Tag: 2.140.112^2~53 X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=commitdiff_plain;h=a94d5c66f29ae77337522af66f1faf0915bd9981 added another deref hopefully just missed this one case; our expected linked files never showed up in archive. --- 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);