diff options
author | Martin Väth <martin@mvath.de> | 2022-12-22 08:07:21 +0100 |
---|---|---|
committer | Martin Väth <martin@mvath.de> | 2022-12-22 08:07:21 +0100 |
commit | e492d49b2cdff404d2fc3acfb79341946941baef (patch) | |
tree | 28e82c0dc3ab2001dbd804b5419f22421dabdcf5 /dev-util | |
parent | x11-misc/gtkdialog: Remove, as it is back to gentoo repository (diff) | |
download | mv-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 'dev-util')
-rw-r--r-- | dev-util/diffhelp/diffhelp-1.12.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-util/diffhelp/diffhelp-1.12.ebuild b/dev-util/diffhelp/diffhelp-1.12.ebuild index af3beb9f..2f0fa967 100644 --- a/dev-util/diffhelp/diffhelp-1.12.ebuild +++ b/dev-util/diffhelp/diffhelp-1.12.ebuild @@ -11,11 +11,11 @@ SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris" -IUSE="" +IUSE="split-usr" src_prepare() { use prefix || 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/* || die default } |