]> git.ipfire.org Git - thirdparty/kmod.git/commit
testsuite: tweak sed/find dance in setup-rootfs.sh
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 2 Sep 2024 17:58:35 +0000 (18:58 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 3 Sep 2024 01:13:16 +0000 (20:13 -0500)
commit8141ca96ce915cc4cd8463fc5b638f509b7f7be6
treef1eb4ffcd30391d70f1aebdb9544614a9f61b468
parentc90f350605f1397a874ff0162bd44df8eb3ae871
testsuite: tweak sed/find dance in setup-rootfs.sh

Instead of doing the exact same search twice and using sub-shells, find
once and -exec the patterns.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/86
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
testsuite/setup-rootfs.sh