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 /dev-lang/erlang/erlang-13.2.4.ebuild
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)
Diffstat (limited to 'dev-lang/erlang/erlang-13.2.4.ebuild')
-rw-r--r--dev-lang/erlang/erlang-13.2.4.ebuild6
1 files changed, 3 insertions, 3 deletions
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