diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-08-15 10:50:14 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-08-15 12:32:44 +0200 |
commit | 3bc189a622fad9db820eafbf1b0a7b422abdc185 (patch) | |
tree | 50ce67b1fa502caf334af9b9074c0d9896413f09 /dev-lang | |
parent | sys-devel/llvm: Use newenvd with stdin form (diff) | |
download | gentoo-3bc189a622fad9db820eafbf1b0a7b422abdc185.tar.gz gentoo-3bc189a622fad9db820eafbf1b0a7b422abdc185.tar.bz2 gentoo-3bc189a622fad9db820eafbf1b0a7b422abdc185.zip |
dev-lang/python-exec: Use newins with stdin input
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/python-exec/python-exec-2.4.6.ebuild | 5 | ||||
-rw-r--r-- | dev-lang/python-exec/python-exec-9999.ebuild | 5 |
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 |