From: Fabian Groffen Date: Thu, 12 Mar 2009 19:52:52 +0000 (-0000) Subject: make sure I don't forget to kill this lame script in the prefix ebuild X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=9016eb45ad3074483278c0e0bb958a017f84a2f4;p=portage.git make sure I don't forget to kill this lame script in the prefix ebuild svn path=/main/branches/prefix/; revision=13097 --- diff --git a/bin/ebuild-helpers/sed b/bin/ebuild-helpers/sed index cc92ff13e..c22499882 100755 --- a/bin/ebuild-helpers/sed +++ b/bin/ebuild-helpers/sed @@ -6,6 +6,11 @@ scriptpath=${BASH_SOURCE[0]} scriptname=${scriptpath##*/} +if [[ ${EPREFIX} != "" ]] ; then + echo "using Prefix and hitting this lame BSD wrapper? die!" > /dev/stderr + exit 1 +fi + if [[ sed == ${scriptname} ]] && [[ -n ${ESED} ]]; then exec ${ESED} "$@" elif type -P g${scriptname} > /dev/null ; then