summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2022-11-18 10:01:25 +0200
committerJoonas Niilola <juippis@gentoo.org>2022-11-18 10:17:54 +0200
commit1982f8c343c9aba33b21c3e4b549e958efff6d4f (patch)
treeb0d01d6e845c89997f3362ccb5f5afb0b46bd79c /sys-block
parentsys-block/storcli: add 7.2405 (diff)
downloadgentoo-1982f8c343c9aba33b21c3e4b549e958efff6d4f.tar.gz
gentoo-1982f8c343c9aba33b21c3e4b549e958efff6d4f.tar.bz2
gentoo-1982f8c343c9aba33b21c3e4b549e958efff6d4f.zip
sys-block/storcli: add a find -exec sed command, add missing || die
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/storcli/storcli-7.2405.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-block/storcli/storcli-7.2405.ebuild b/sys-block/storcli/storcli-7.2405.ebuild
index 9ba4c0bb1174..96733e069766 100644
--- a/sys-block/storcli/storcli-7.2405.ebuild
+++ b/sys-block/storcli/storcli-7.2405.ebuild
@@ -31,7 +31,7 @@ src_unpack() {
src_prepare() {
default
- sed -i -e 's|/home/|/usr/share/storcli/|g' JSON-Schema/*.json
+ find JSON-Schema/ -type f -name *.json -exec sed -i -e 's|/home/|/usr/share/storcli/|g' {} \+ || die
}
src_install() {