Closed Ionic closed 1 year ago
Rebased against the 2022 version of the eapi7 branch.
Ugh, I accidentally rebased this against the eapi7 branch. This is supposed to go on the master branch first, then have it merged into the eapi7 branch later.
Better. Will merge tomorrow.
Target paths were not correctly quoted for recursive doins invocations, which lead to breakage.
A simple example would be "bar" -> "fo o", which would not have worked at all.
Fix this by quoting the files we're working with correctly, and add more extensive test cases for paths like these.
While at it, generally try to quote all unsafe components in doins.
Fixes: MageSlayer/paludis-gentoo-patches#40
This PR requires #37 to be merged first. Will undraft it as soon as that's the case.