projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
772feeb
)
make sure I don't forget to kill this lame script in the prefix ebuild
author
Fabian Groffen
<grobian@gentoo.org>
Thu, 12 Mar 2009 19:52:52 +0000
(19:52 -0000)
committer
Fabian Groffen
<grobian@gentoo.org>
Thu, 12 Mar 2009 19:52:52 +0000
(19:52 -0000)
svn path=/main/branches/prefix/; revision=13097
bin/ebuild-helpers/sed
patch
|
blob
|
history
diff --git
a/bin/ebuild-helpers/sed
b/bin/ebuild-helpers/sed
index cc92ff13eb0157882d9e5bf41cfb26565f91c337..c22499882c4ad27dbab76c395d4a0cb6fcd9295c 100755
(executable)
--- 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