commit:     7410eff5e86a0ecb93d4f094964d2fd483e6ffa6
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 17 15:54:52 2025 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Wed Sep 17 15:56:10 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7410eff5

app-admin/sudo-rs: Revbump, fix sed "sudo" to "sudo-rs" (bug #962810)

Closes: https://bugs.gentoo.org/962810
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 .../sudo-rs/{sudo-rs-0.2.8-r3.ebuild => sudo-rs-0.2.8-r4.ebuild}  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-admin/sudo-rs/sudo-rs-0.2.8-r3.ebuild 
b/app-admin/sudo-rs/sudo-rs-0.2.8-r4.ebuild
similarity index 86%
rename from app-admin/sudo-rs/sudo-rs-0.2.8-r3.ebuild
rename to app-admin/sudo-rs/sudo-rs-0.2.8-r4.ebuild
index 1cc87a588b9c..39bfb568a352 100644
--- a/app-admin/sudo-rs/sudo-rs-0.2.8-r3.ebuild
+++ b/app-admin/sudo-rs/sudo-rs-0.2.8-r4.ebuild
@@ -56,11 +56,11 @@ PATCHES=(
 
 src_prepare() {
        if ! use system-names; then
-               find "${S}" -name '*.rs' -or -name 'Cargo.toml' -print0 \
-                       | xargs --null sed -r -e 
's:"(sudo|visudo|su|su-l)":"\1-rs": ; s:"sudo-i":"sudo-rs-i":' -i || die
+               find "${S}" -name '*.rs' -or -name 'Cargo.toml' \
+                       | xargs sed -r -e 's:"(sudo|visudo|su|su-l)":"\1-rs": ; 
s:"sudo-i":"sudo-rs-i":' -i || die
        elif ! use su; then
-               find "${S}" -name '*.rs' -or -name 'Cargo.toml' -print0 \
-                       | xargs --null sed -r -e 's:"(su|su-l)":"\1-rs":' -i || 
die
+               find "${S}" -name '*.rs' -or -name 'Cargo.toml' \
+                       | xargs sed -r -e 's:"(su|su-l)":"\1-rs":' -i || die
        fi
 
        default

Reply via email to