commit:     911c34804800c96862d552f7ce37740fd5fc356b
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 25 14:47:50 2022 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Jul 25 14:47:50 2022 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=911c3480

bin/ebuild-helpers/bsd/sed: drop warning (Prefix only)

we've dealt with this for many years now, and no occurences of this have
taken place recently, so drop this to reduce the diff with master

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 bin/ebuild-helpers/bsd/sed | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/bin/ebuild-helpers/bsd/sed b/bin/ebuild-helpers/bsd/sed
index 4bc70f3a8..2d7b844da 100755
--- a/bin/ebuild-helpers/bsd/sed
+++ b/bin/ebuild-helpers/bsd/sed
@@ -5,13 +5,6 @@
 scriptpath=${BASH_SOURCE[0]}
 scriptname=${scriptpath##*/}
 
-# PREFIX LOCAL: warn about screwups early
-if [[ -n ${EPREFIX} ]] ; then
-       echo "When using Prefix, this BSD sed wrapper should not exist (in 
${scriptpath})!  This is a bug!" > /dev/stderr
-       exit 1
-fi
-# END PREFIX LOCAL
-
 if [[ sed == ${scriptname} && -n ${ESED} ]]; then
        exec ${ESED} "$@"
 elif type -P g${scriptname} > /dev/null ; then

Reply via email to