Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix fetching artifacts when sudo changes directory
The artifact sending logic is basically: ```sh cd directory sudo tar ... ``` The problem is that sudo may have done something that changes the directory. I've observed this while testing on Ubuntu 24.10. Instead of fiddling with more fringe options around sudo, pass -C or --directory= to tar, so that all the files are referenced relative to the task directory. Signed-off-by: Zygmunt Krynicki <[email protected]>
- Loading branch information