-#!/bin/bash
+#!@PORTAGE_BASH@
- # Copyright 1999-2006 Gentoo Foundation
+ # Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
#
# emake: Supplies some default parameters to GNU make. At the moment the
# /etc/make.globals here because emake is only called from an
# ebuild.
-source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh
++source "${PORTAGE_BIN_PATH:-@PORTAGE_BASE@/bin}"/isolated-functions.sh
+
if [[ $PORTAGE_QUIET != 1 ]] ; then
(
for arg in ${MAKE:-make} $MAKEOPTS $EXTRA_EMAKE "$@" ; do
from portage import _unicode_encode
import codecs
from portage.output import colorize
+ from portage.package.ebuild.digestcheck import digestcheck
+ from portage.package.ebuild.doebuild import _check_temp_dir
+from portage.const import EPREFIX
+
class EbuildBuild(CompositeTask):
__slots__ = ("args_set", "config_pool", "find_blockers",