summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-09-25 04:29:25 +0100
committerSam James <sam@gentoo.org>2023-09-25 04:29:29 +0100
commitd5330dd7ca56fb085af21b82be4f92de94ebe4d9 (patch)
treec7c949509b98c0c4f113196d8da0292808f19042 /dev-libs/libcgroup
parentdev-libs/libcgroup: drop 2.0 (diff)
downloadgentoo-d5330dd7ca56fb085af21b82be4f92de94ebe4d9.tar.gz
gentoo-d5330dd7ca56fb085af21b82be4f92de94ebe4d9.tar.bz2
gentoo-d5330dd7ca56fb085af21b82be4f92de94ebe4d9.zip
dev-libs/libcgroup: fix find arg
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libcgroup')
-rw-r--r--dev-libs/libcgroup/libcgroup-3.0.0-r1.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-libs/libcgroup/libcgroup-3.0.0-r1.ebuild b/dev-libs/libcgroup/libcgroup-3.0.0-r1.ebuild
index 9fdbb7a5bde3..ab8c02a5f29f 100644
--- a/dev-libs/libcgroup/libcgroup-3.0.0-r1.ebuild
+++ b/dev-libs/libcgroup/libcgroup-3.0.0-r1.ebuild
@@ -45,7 +45,7 @@ src_prepare() {
default
# Change rules file location
- find src -name '*.c' -o -name '*.h' -0 \
+ find src -name '*.c' -o -name '*.h' -print0 \
| xargs -0 sed -i '/^#define/s:/etc/cg:/etc/cgroup/cg:'
sed -i 's:/etc/cg:/etc/cgroup/cg:' \
doc/man/cg* samples/config/*.conf README* || die "sed failed"