summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-lang/python-exec/python-exec-2.4.6.ebuild5
-rw-r--r--dev-lang/python-exec/python-exec-9999.ebuild5
2 files changed, 4 insertions, 6 deletions
diff --git a/dev-lang/python-exec/python-exec-2.4.6.ebuild b/dev-lang/python-exec/python-exec-2.4.6.ebuild
index 9ed5ee58b776..e888b5fef3b1 100644
--- a/dev-lang/python-exec/python-exec-2.4.6.ebuild
+++ b/dev-lang/python-exec/python-exec-2.4.6.ebuild
@@ -48,10 +48,9 @@ src_install() {
default
# Prepare and own the template
- sed -n -e '/^#/p' config/python-exec.conf.example \
- > "${T}"/python-exec.conf || die
insinto /etc/python-exec
- doins "${T}"/python-exec.conf
+ newins - python-exec.conf \
+ < <(sed -n -e '/^#/p' config/python-exec.conf.example)
local f
for f in python{,2,3}; do
diff --git a/dev-lang/python-exec/python-exec-9999.ebuild b/dev-lang/python-exec/python-exec-9999.ebuild
index 6fc81aeeefa9..c0f5a62b4d0b 100644
--- a/dev-lang/python-exec/python-exec-9999.ebuild
+++ b/dev-lang/python-exec/python-exec-9999.ebuild
@@ -54,10 +54,9 @@ src_install() {
default
# Prepare and own the template
- sed -n -e '/^#/p' config/python-exec.conf.example \
- > "${T}"/python-exec.conf || die
insinto /etc/python-exec
- doins "${T}"/python-exec.conf
+ newins - python-exec.conf \
+ < <(sed -n -e '/^#/p' config/python-exec.conf.example)
local f
for f in python{,2,3}; do