public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/rosetta/
Date: Tue, 11 Jun 2013 14:25:38 +0000 (UTC)	[thread overview]
Message-ID: <1370960572.d09462138f4920e500c9540237cbe25b07214695.jlec@gentoo> (raw)

commit:     d09462138f4920e500c9540237cbe25b07214695
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 11 14:22:26 2013 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Jun 11 14:22:52 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=d0946213

sci-chemistry/rosetta: Fix: Ebuild calls die in a subshell

Package-Manager: portage-2.2.0_alpha179

---
 sci-chemistry/rosetta/ChangeLog          | 3 +++
 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 181dbc8..89adc6e 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 3a5ec2f..7a9cead 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() {


             reply	other threads:[~2013-06-11 14:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-11 14:25 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-06-11 14:25 [gentoo-commits] proj/sci:master commit in: sci-chemistry/rosetta/ Justin Lecher
2013-03-21 16:11 Justin Lecher
2013-03-21 16:11 Justin Lecher
2013-03-21  6:54 Justin Lecher
2011-06-24 17:09 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1370960572.d09462138f4920e500c9540237cbe25b07214695.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox