It was reported on slack that using binny didn't work and failed with an error invalid cross-device link
This is because os.Rename was used when moving the temp directory that contains a new tool installation to the final destination within the store. I attempting using a copy first instead of a move, however, if the binary in question is still in use, then you will see an error text in busy. Instead the change is to use a tmp directory path to be within the store path itself, so that os.Rename can still be used.
It was reported on slack that using
binny
didn't work and failed with an errorinvalid cross-device link
This is because
os.Rename
was used when moving the temp directory that contains a new tool installation to the final destination within the store. I attempting using a copy first instead of a move, however, if the binary in question is still in use, then you will see an errortext in busy
. Instead the change is to use a tmp directory path to be within the store path itself, so thatos.Rename
can still be used.CC: @brian-ebarb