summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2022-12-22 08:07:21 +0100
committerMartin Väth <martin@mvath.de>2022-12-22 08:07:21 +0100
commite492d49b2cdff404d2fc3acfb79341946941baef (patch)
tree28e82c0dc3ab2001dbd804b5419f22421dabdcf5 /sys-fs
parentx11-misc/gtkdialog: Remove, as it is back to gentoo repository (diff)
downloadmv-e492d49b2cdff404d2fc3acfb79341946941baef.tar.gz
mv-e492d49b2cdff404d2fc3acfb79341946941baef.tar.bz2
mv-e492d49b2cdff404d2fc3acfb79341946941baef.zip
split-usr: If unset use /usr/bin/sh instead of /bin/sh
Signed-off-by: Martin Väth <martin@mvath.de>
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/squash_dir/squash_dir-13.14-r1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-fs/squash_dir/squash_dir-13.14-r1.ebuild b/sys-fs/squash_dir/squash_dir-13.14-r1.ebuild
index f63cadb3..f256d8f6 100644
--- a/sys-fs/squash_dir/squash_dir-13.14-r1.ebuild
+++ b/sys-fs/squash_dir/squash_dir-13.14-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="aufs overlayfs bundled-openrc-wrapper unionfs-fuse"
+IUSE="aufs bundled-openrc-wrapper overlayfs split-usr unionfs-fuse"
DEPEND="bundled-openrc-wrapper? ( !!sys-apps/openrc-wrapper )"
RDEPEND="sys-fs/squashfs-tools
@@ -46,7 +46,7 @@ src_prepare() {
-e "s\"'/lib\"'${EPREFIX}/lib64/rc/bin:${EPREFIX}/lib/rc/bin:/lib\"" \
-- "bin/openrc-wrapper" || die
else sed -i \
- -e '1s"^#!/usr/bin/env sh$"#!'"${EPREFIX}/bin/sh"'"' \
+ -e '1s"^#!/usr/bin/env sh$"#!'"${EPREFIX}$(usex split-usr '' /usr)/bin/sh"'"' \
-- bin/* sbin/* || die
fi
default