From: Zac Medico Date: Thu, 12 Mar 2009 05:55:37 +0000 (-0000) Subject: Move ebuild helpers into an ebuild-helpers subdirectory. (trunk r13063) X-Git-Tag: v2.1.6.8~15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=aacb5d3be42eb354596ca19db836bd3085bc2da9;p=portage.git Move ebuild helpers into an ebuild-helpers subdirectory. (trunk r13063) svn path=/main/branches/2.1.6/; revision=13077 --- diff --git a/bin/dobin b/bin/ebuild-helpers/dobin similarity index 100% rename from bin/dobin rename to bin/ebuild-helpers/dobin diff --git a/bin/doconfd b/bin/ebuild-helpers/doconfd similarity index 100% rename from bin/doconfd rename to bin/ebuild-helpers/doconfd diff --git a/bin/dodir b/bin/ebuild-helpers/dodir similarity index 100% rename from bin/dodir rename to bin/ebuild-helpers/dodir diff --git a/bin/dodoc b/bin/ebuild-helpers/dodoc similarity index 100% rename from bin/dodoc rename to bin/ebuild-helpers/dodoc diff --git a/bin/doenvd b/bin/ebuild-helpers/doenvd similarity index 100% rename from bin/doenvd rename to bin/ebuild-helpers/doenvd diff --git a/bin/doexe b/bin/ebuild-helpers/doexe similarity index 100% rename from bin/doexe rename to bin/ebuild-helpers/doexe diff --git a/bin/dohard b/bin/ebuild-helpers/dohard similarity index 100% rename from bin/dohard rename to bin/ebuild-helpers/dohard diff --git a/bin/dohtml b/bin/ebuild-helpers/dohtml similarity index 100% rename from bin/dohtml rename to bin/ebuild-helpers/dohtml diff --git a/bin/doinfo b/bin/ebuild-helpers/doinfo similarity index 100% rename from bin/doinfo rename to bin/ebuild-helpers/doinfo diff --git a/bin/doinitd b/bin/ebuild-helpers/doinitd similarity index 100% rename from bin/doinitd rename to bin/ebuild-helpers/doinitd diff --git a/bin/doins b/bin/ebuild-helpers/doins similarity index 100% rename from bin/doins rename to bin/ebuild-helpers/doins diff --git a/bin/dolib b/bin/ebuild-helpers/dolib similarity index 100% rename from bin/dolib rename to bin/ebuild-helpers/dolib diff --git a/bin/dolib.a b/bin/ebuild-helpers/dolib.a similarity index 100% rename from bin/dolib.a rename to bin/ebuild-helpers/dolib.a diff --git a/bin/dolib.so b/bin/ebuild-helpers/dolib.so similarity index 100% rename from bin/dolib.so rename to bin/ebuild-helpers/dolib.so diff --git a/bin/doman b/bin/ebuild-helpers/doman similarity index 100% rename from bin/doman rename to bin/ebuild-helpers/doman diff --git a/bin/domo b/bin/ebuild-helpers/domo similarity index 100% rename from bin/domo rename to bin/ebuild-helpers/domo diff --git a/bin/dosbin b/bin/ebuild-helpers/dosbin similarity index 100% rename from bin/dosbin rename to bin/ebuild-helpers/dosbin diff --git a/bin/dosed b/bin/ebuild-helpers/dosed similarity index 100% rename from bin/dosed rename to bin/ebuild-helpers/dosed diff --git a/bin/dosym b/bin/ebuild-helpers/dosym similarity index 100% rename from bin/dosym rename to bin/ebuild-helpers/dosym diff --git a/bin/ecompress b/bin/ebuild-helpers/ecompress similarity index 100% rename from bin/ecompress rename to bin/ebuild-helpers/ecompress diff --git a/bin/ecompressdir b/bin/ebuild-helpers/ecompressdir similarity index 100% rename from bin/ecompressdir rename to bin/ebuild-helpers/ecompressdir diff --git a/bin/emake b/bin/ebuild-helpers/emake similarity index 100% rename from bin/emake rename to bin/ebuild-helpers/emake diff --git a/bin/fowners b/bin/ebuild-helpers/fowners similarity index 100% rename from bin/fowners rename to bin/ebuild-helpers/fowners diff --git a/bin/fperms b/bin/ebuild-helpers/fperms similarity index 100% rename from bin/fperms rename to bin/ebuild-helpers/fperms diff --git a/bin/newbin b/bin/ebuild-helpers/newbin similarity index 100% rename from bin/newbin rename to bin/ebuild-helpers/newbin diff --git a/bin/newconfd b/bin/ebuild-helpers/newconfd similarity index 100% rename from bin/newconfd rename to bin/ebuild-helpers/newconfd diff --git a/bin/newdoc b/bin/ebuild-helpers/newdoc similarity index 100% rename from bin/newdoc rename to bin/ebuild-helpers/newdoc diff --git a/bin/newenvd b/bin/ebuild-helpers/newenvd similarity index 100% rename from bin/newenvd rename to bin/ebuild-helpers/newenvd diff --git a/bin/newexe b/bin/ebuild-helpers/newexe similarity index 100% rename from bin/newexe rename to bin/ebuild-helpers/newexe diff --git a/bin/newinitd b/bin/ebuild-helpers/newinitd similarity index 100% rename from bin/newinitd rename to bin/ebuild-helpers/newinitd diff --git a/bin/newins b/bin/ebuild-helpers/newins similarity index 100% rename from bin/newins rename to bin/ebuild-helpers/newins diff --git a/bin/newlib.a b/bin/ebuild-helpers/newlib.a similarity index 100% rename from bin/newlib.a rename to bin/ebuild-helpers/newlib.a diff --git a/bin/newlib.so b/bin/ebuild-helpers/newlib.so similarity index 100% rename from bin/newlib.so rename to bin/ebuild-helpers/newlib.so diff --git a/bin/newman b/bin/ebuild-helpers/newman similarity index 100% rename from bin/newman rename to bin/ebuild-helpers/newman diff --git a/bin/newsbin b/bin/ebuild-helpers/newsbin similarity index 100% rename from bin/newsbin rename to bin/ebuild-helpers/newsbin diff --git a/bin/ebuild-helpers/portageq b/bin/ebuild-helpers/portageq new file mode 120000 index 000000000..4d1273c48 --- /dev/null +++ b/bin/ebuild-helpers/portageq @@ -0,0 +1 @@ +../portageq \ No newline at end of file diff --git a/bin/prepall b/bin/ebuild-helpers/prepall similarity index 100% rename from bin/prepall rename to bin/ebuild-helpers/prepall diff --git a/bin/prepalldocs b/bin/ebuild-helpers/prepalldocs similarity index 100% rename from bin/prepalldocs rename to bin/ebuild-helpers/prepalldocs diff --git a/bin/prepallinfo b/bin/ebuild-helpers/prepallinfo similarity index 100% rename from bin/prepallinfo rename to bin/ebuild-helpers/prepallinfo diff --git a/bin/prepallman b/bin/ebuild-helpers/prepallman similarity index 100% rename from bin/prepallman rename to bin/ebuild-helpers/prepallman diff --git a/bin/prepallstrip b/bin/ebuild-helpers/prepallstrip similarity index 100% rename from bin/prepallstrip rename to bin/ebuild-helpers/prepallstrip diff --git a/bin/prepinfo b/bin/ebuild-helpers/prepinfo similarity index 100% rename from bin/prepinfo rename to bin/ebuild-helpers/prepinfo diff --git a/bin/preplib b/bin/ebuild-helpers/preplib similarity index 100% rename from bin/preplib rename to bin/ebuild-helpers/preplib diff --git a/bin/prepman b/bin/ebuild-helpers/prepman similarity index 100% rename from bin/prepman rename to bin/ebuild-helpers/prepman diff --git a/bin/prepstrip b/bin/ebuild-helpers/prepstrip similarity index 100% rename from bin/prepstrip rename to bin/ebuild-helpers/prepstrip diff --git a/bin/sed b/bin/ebuild-helpers/sed similarity index 100% rename from bin/sed rename to bin/ebuild-helpers/sed diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 9d3428349..23f1c447f 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -70,7 +70,7 @@ unalias -a # Unset some variables that break things. unset GZIP BZIP BZIP2 CDPATH GREP_OPTIONS GREP_COLOR GLOBIGNORE -export PATH="/usr/local/sbin:/sbin:/usr/sbin:${PORTAGE_BIN_PATH}:/usr/local/bin:/bin:/usr/bin:${ROOTPATH}" +export PATH="/usr/local/sbin:/sbin:/usr/sbin:$PORTAGE_BIN_PATH/ebuild-helpers:/usr/local/bin:/bin:/usr/bin:${ROOTPATH}" [ ! -z "$PREROOTPATH" ] && export PATH="${PREROOTPATH%%:}:$PATH" source "${PORTAGE_BIN_PATH}/isolated-functions.sh" &>/dev/null diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index c29852309..e5de71340 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -382,7 +382,8 @@ install_qa_check() { abort="yes" fi done - f=$(cat "${PORTAGE_LOG_FILE}" | check-implicit-pointer-usage.py) + f=$(cat "${PORTAGE_LOG_FILE}" | \ + "$PORTAGE_BIN_PATH"/check-implicit-pointer-usage.py) if [[ -n ${f} ]] ; then # In the future this will be a forced "die". In preparation, diff --git a/pym/portage/tests/bin/setup_env.py b/pym/portage/tests/bin/setup_env.py index 388428a7c..727f02e7b 100644 --- a/pym/portage/tests/bin/setup_env.py +++ b/pym/portage/tests/bin/setup_env.py @@ -9,7 +9,8 @@ from portage.tests import TestCase from portage.process import spawn from portage.const import PORTAGE_BIN_PATH -bindir = join(dirname(dirname(abspath(__file__))), "..", "..", "..", "bin") +bindir = join(dirname(dirname(abspath(__file__))), + "..", "..", "..", "bin", "ebuild-helpers") basedir = join(dirname(dirname(abspath(__file__))), "bin", "root") os.environ["D"] = os.path.join(basedir, "image") os.environ["T"] = os.path.join(basedir, "temp")