diff options
author | 2013-06-11 16:22:26 +0200 | |
---|---|---|
committer | 2013-06-11 16:22:52 +0200 | |
commit | d09462138f4920e500c9540237cbe25b07214695 (patch) | |
tree | 0037fcb9358b7447b1ac5a68c40c385da6cb2fc9 | |
parent | sci-chemistry/rosetta: Add patches from www.csrosetta.org (diff) | |
download | sci-d09462138f4920e500c9540237cbe25b07214695.tar.gz sci-d09462138f4920e500c9540237cbe25b07214695.tar.bz2 sci-d09462138f4920e500c9540237cbe25b07214695.zip |
sci-chemistry/rosetta: Fix: Ebuild calls die in a subshell
Package-Manager: portage-2.2.0_alpha179
-rw-r--r-- | sci-chemistry/rosetta/ChangeLog | 3 | ||||
-rw-r--r-- | sci-chemistry/rosetta/rosetta-3.4.ebuild | 9 |
2 files changed, 10 insertions, 2 deletions
diff --git a/sci-chemistry/rosetta/ChangeLog b/sci-chemistry/rosetta/ChangeLog index 181dbc8d3..89adc6eec 100644 --- a/sci-chemistry/rosetta/ChangeLog +++ b/sci-chemistry/rosetta/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 11 Jun 2013; Justin Lecher <jlec@gentoo.org> rosetta-3.4.ebuild: + Fix: Ebuild calls die in a subshell + 11 Jun 2013; Justin Lecher <jlec@gentoo.org> rosetta-3.4.ebuild, metadata.xml: Add patches from www.csrosetta.org diff --git a/sci-chemistry/rosetta/rosetta-3.4.ebuild b/sci-chemistry/rosetta/rosetta-3.4.ebuild index 3a5ec2f56..7a9ceada5 100644 --- a/sci-chemistry/rosetta/rosetta-3.4.ebuild +++ b/sci-chemistry/rosetta/rosetta-3.4.ebuild @@ -145,8 +145,13 @@ src_install() { newbin ${BIN} ${BIN%%.*} || die "could not install rosetta program files" done - [[ -e "${ED}"/usr/bin/cluster ]] && ( mv "${ED}"/usr/bin/cluster{,-${PN}} || die ) - [[ -e "${ED}"/usr/bin/benchmark ]] && ( mv "${ED}"/usr/bin/benchmark{,-${PN}} || die ) + if [[ -e "${ED}"/usr/bin/cluster ]]; then + mv "${ED}"/usr/bin/cluster{,-${PN}} || die + fi + + if [[ -e "${ED}"/usr/bin/benchmark ]]; then + mv "${ED}"/usr/bin/benchmark{,-${PN}} || die + fi } my_filter_option() { |