public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/portage:prefix commit in: bin/ebuild-helpers/bsd/
@ 2022-07-25 14:49 Fabian Groffen
  0 siblings, 0 replies; only message in thread
From: Fabian Groffen @ 2022-07-25 14:49 UTC (permalink / raw
  To: gentoo-commits

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-25 14:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-25 14:49 [gentoo-commits] proj/portage:prefix commit in: bin/ebuild-helpers/bsd/ Fabian Groffen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox