summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/baselayout')
-rw-r--r--sys-apps/baselayout/baselayout-2.4.1-r1.ebuild (renamed from sys-apps/baselayout/baselayout-2.4.1.ebuild)1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys-apps/baselayout/baselayout-2.4.1.ebuild b/sys-apps/baselayout/baselayout-2.4.1-r1.ebuild
index 0c2d7de0cd4..e0b71bd2af4 100644
--- a/sys-apps/baselayout/baselayout-2.4.1.ebuild
+++ b/sys-apps/baselayout/baselayout-2.4.1-r1.ebuild
@@ -144,6 +144,7 @@ src_prepare() {
-e "/PATH=.*\/bin/s|\"$|:/usr/bin:/bin\"|" \
etc/profile || die
sed -i -r \
+ -e "s@:/bin@:${EPREFIX}/bin@g" \
-e "s:/(etc/env.d|opt|usr):${EPREFIX}/\1:g" \
-e "/^PATH=/s|\"$|:${EPREFIX}/usr/sbin:${EPREFIX}/sbin\"|" \
etc/env.d/50baselayout || die