diff options
author | 2011-06-18 10:08:55 +0000 | |
---|---|---|
committer | 2011-06-18 10:08:55 +0000 | |
commit | 944a17714ee30ba5e04ac3eee98e040833194c41 (patch) | |
tree | 1c974c5402409dfbcb17ff237f50a9a386128838 /dev-vcs | |
parent | Version bump for dev channel release (fails tests). Remove old. (diff) | |
download | gentoo-2-944a17714ee30ba5e04ac3eee98e040833194c41.tar.gz gentoo-2-944a17714ee30ba5e04ac3eee98e040833194c41.tar.bz2 gentoo-2-944a17714ee30ba5e04ac3eee98e040833194c41.zip |
Added "|| die" to few commands to prevent possible problems
(Portage version: 2.1.9.42/cvs/Linux x86_64)
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/fromcvs/ChangeLog | 6 | ||||
-rw-r--r-- | dev-vcs/fromcvs/fromcvs-0_pre132-r1.ebuild | 10 |
2 files changed, 10 insertions, 6 deletions
diff --git a/dev-vcs/fromcvs/ChangeLog b/dev-vcs/fromcvs/ChangeLog index e2f3895e456f..af5f984d5c39 100644 --- a/dev-vcs/fromcvs/ChangeLog +++ b/dev-vcs/fromcvs/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-vcs/fromcvs # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-vcs/fromcvs/ChangeLog,v 1.2 2011/06/18 09:51:59 sochotnicky Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/fromcvs/ChangeLog,v 1.3 2011/06/18 10:08:55 sochotnicky Exp $ + + 18 Jun 2011; Stanislav Ochotnicky <sochotnicky@gentoo.org> + fromcvs-0_pre132-r1.ebuild: + Added "|| die" to few commands to prevent possible problems *fromcvs-0_pre132-r1 (18 Jun 2011) diff --git a/dev-vcs/fromcvs/fromcvs-0_pre132-r1.ebuild b/dev-vcs/fromcvs/fromcvs-0_pre132-r1.ebuild index 5cdf590bf867..196335a6b1a0 100644 --- a/dev-vcs/fromcvs/fromcvs-0_pre132-r1.ebuild +++ b/dev-vcs/fromcvs/fromcvs-0_pre132-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-vcs/fromcvs/fromcvs-0_pre132-r1.ebuild,v 1.1 2011/06/18 09:51:59 sochotnicky Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/fromcvs/fromcvs-0_pre132-r1.ebuild,v 1.2 2011/06/18 10:08:55 sochotnicky Exp $ EAPI=4 @@ -37,15 +37,15 @@ ruby_add_rdepend "dev-ruby/rcsparse src_prepare() { # prepare scripts that will go into bin for script in togit.rb tohg.rb todb.rb;do - sed -i '1 i #!/usr/bin/ruby' ${script} - mv ${script} ${script%.rb} + sed -i '1 i #!/usr/bin/ruby' ${script} || die + mv ${script} ${script%.rb} || die done # this is a workaround because combination of ruby-ng and mercurial is # not working correctly for unpacking for rubyv in ${USE_RUBY} all;do - mkdir "${WORKDIR}/${rubyv}" - cp -prl "${S}" "${WORKDIR}/${rubyv}/${RUBY_S}" + mkdir "${WORKDIR}/${rubyv}" || die + cp -prl "${S}" "${WORKDIR}/${rubyv}/${RUBY_S}" || die done } |