commit 3bc4554eba7282f924fce49268aefc4e5e25f12f from: Omar Polo date: Thu Aug 25 16:25:23 2022 UTC use move from File::Copy instead of rename i was reminded that rename doesn't work across filesystems. `move' from File::Copy attempts to use rename and falls back to a copy+unlink, which is the thing we need. commit - 054f3fd48e662b95ddb20d25898866681971de6e commit + 3bc4554eba7282f924fce49268aefc4e5e25f12f blob - ce57a3f1b58798c2ac360b15923cd025a1400baf blob + 0165e62e6a41c95642ad9fd1d48c2fe3ab71b755 --- mkindex +++ mkindex @@ -6,6 +6,8 @@ use strict; use warnings; use v5.32; +use File::Copy; + use OpenBSD::Pledge; use OpenBSD::Unveil; @@ -79,7 +81,7 @@ sub fixfiles { say $pfh ""; endpage($pfh); close($pfh); - rename $path, "$outdir/$path"; + move $path, "$outdir/$path"; } }