commit:     2e1c2e4408aae4d87589293af913dfa588b679d3
Author:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Tue Jul 16 21:53:39 2019 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Tue Jul 16 21:53:39 2019 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=2e1c2e44

sci-biology/portrait: Rewrite sed hackery (aka DOS2Unix)

Thanks to @mgorny for the hint.
Reported-by: <mgorny <AT> gentoo.org>
Closes: https://bugs.gentoo.org/689816
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Martin Mokrejs <mmokrejs <AT> fold.natur.cuni.cz>

 sci-biology/portrait/portrait-1.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-biology/portrait/portrait-1.1.ebuild 
b/sci-biology/portrait/portrait-1.1.ebuild
index 424ccfcd6..d6e0c7e82 100644
--- a/sci-biology/portrait/portrait-1.1.ebuild
+++ b/sci-biology/portrait/portrait-1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -22,7 +22,7 @@ RDEPEND="
 # was only tested with sci-libs/libsvm-2.84
 
 src_install(){
-       sed -e 's/
//' -i *.pl || die "Failed to convert from DOS line endings to Unix"
+       sed -e 's/\r//' -i *.pl || die "Failed to convert from DOS line endings 
to Unix"
        sed -e 's#/home/rtarrial/prog#/usr/bin#' -i *.pl
        dobin *.pl
        dodoc README.txt

Reply via email to