summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2010-03-05 08:21:38 +0000
committerChristian Faulhammer <fauli@gentoo.org>2010-03-05 08:21:38 +0000
commit0c9eaef38169bf0e96c58f56fcb9b8dd2fa09f1c (patch)
tree398db033436794c4c0ad1c102d6f4ff2f2feadd6
parentVersion bump (diff)
downloadgentoo-2-0c9eaef38169bf0e96c58f56fcb9b8dd2fa09f1c.tar.gz
gentoo-2-0c9eaef38169bf0e96c58f56fcb9b8dd2fa09f1c.tar.bz2
gentoo-2-0c9eaef38169bf0e96c58f56fcb9b8dd2fa09f1c.zip
fix sed lines to really modify the file
(Portage version: 2.1.7.17/cvs/Linux i686)
-rw-r--r--dev-lang/erlang/ChangeLog5
-rw-r--r--dev-lang/erlang/erlang-13.2.4.ebuild6
2 files changed, 7 insertions, 4 deletions
diff --git a/dev-lang/erlang/ChangeLog b/dev-lang/erlang/ChangeLog
index 3e6a7e3114e2..1d028a02f6cf 100644
--- a/dev-lang/erlang/ChangeLog
+++ b/dev-lang/erlang/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/erlang
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/erlang/ChangeLog,v 1.184 2010/03/04 09:31:30 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/erlang/ChangeLog,v 1.185 2010/03/05 08:21:38 fauli Exp $
+
+ 05 Mar 2010; Christian Faulhammer <fauli@gentoo.org> erlang-13.2.4.ebuild:
+ fix sed lines to really modify the file
04 Mar 2010; Christian Faulhammer <fauli@gentoo.org> erlang-13.2.4.ebuild:
use system zlib, thanks to Frej Drejhammar <frej AT sics DOT se> in bug
diff --git a/dev-lang/erlang/erlang-13.2.4.ebuild b/dev-lang/erlang/erlang-13.2.4.ebuild
index f27c44b972bc..82817597c24a 100644
--- a/dev-lang/erlang/erlang-13.2.4.ebuild
+++ b/dev-lang/erlang/erlang-13.2.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/erlang/erlang-13.2.4.ebuild,v 1.3 2010/03/04 09:31:30 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/erlang/erlang-13.2.4.ebuild,v 1.4 2010/03/05 08:21:38 fauli Exp $
EAPI=3
WX_GTK_VER="2.8"
@@ -116,8 +116,8 @@ src_install() {
use smp && dosym "${ERL_LIBDIR}/erts-${ERL_ERTS_VER}/bin/beam.smp" /usr/bin/beam.smp
## Remove ${D} from the following files
- sed "s:${D}::g" "${D}${ERL_LIBDIR}/bin/erl" || die
- sed "s:${D}::g" "${D}${ERL_LIBDIR}/bin/start" || die
+ sed -e "s:${D}::g" -i "${D}${ERL_LIBDIR}/bin/erl" || die
+ sed -e "s:${D}::g" -i "${D}${ERL_LIBDIR}/bin/start" || die
grep -rle "${D}" "${ED}/${ERL_LIBDIR}/erts-${ERL_ERTS_VER}" | xargs sed -i -e "s:${D}::g"
## Clean up the no longer needed files