diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-04-07 08:32:35 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-04-07 08:32:35 +0000 |
commit | ee4d73a83c5c224cbc41fb9612ad68fcc717645e (patch) | |
tree | a999d15f8442854ef7c5eee69da68f8b354b54d2 /bin/ebuild.sh | |
parent | 28ab16294c6840042fa662282cd7ab7044d560ff (diff) | |
download | portage-ee4d73a83c5c224cbc41fb9612ad68fcc717645e.tar.gz portage-ee4d73a83c5c224cbc41fb9612ad68fcc717645e.tar.bz2 portage-ee4d73a83c5c224cbc41fb9612ad68fcc717645e.zip |
change "EXEDESTTREE" to "_E_EXEDESTTREE_" to try and prevent abuse from ebuild writers
svn path=/main/trunk/; revision=6351
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-x | bin/ebuild.sh | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 8f866d7b8..755b0ba39 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -270,7 +270,7 @@ register_die_hook() { umask 022 export DESTTREE=/usr export INSDESTTREE="" -export EXEDESTTREE="" +export _E_EXEDESTTREE_="" export _E_DOCDESTTREE_="" export INSOPTIONS="-m0644" export EXEOPTIONS="-m0755" @@ -750,11 +750,11 @@ insinto() { exeinto() { if [ "$1" == "/" ]; then - export EXEDESTTREE="" + export _E_EXEDESTTREE_="" else - export EXEDESTTREE="$1" - if [ ! -d "${D}${EXEDESTTREE}" ]; then - install -d "${D}${EXEDESTTREE}" + export _E_EXEDESTTREE_="$1" + if [ ! -d "${D}${_E_EXEDESTTREE_}" ]; then + install -d "${D}${_E_EXEDESTTREE_}" fi fi } @@ -762,7 +762,6 @@ exeinto() { docinto() { if [ "$1" == "/" ]; then export _E_DOCDESTTREE_="" - eqawarn "QA Notice: invalid usage of docinto" else export _E_DOCDESTTREE_="$1" if [ ! -d "${D}usr/share/doc/${PF}/${_E_DOCDESTTREE_}" ]; then |