aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild/exheres-0/builtin_initmisc.bash
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2009-02-22 17:58:51 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2009-02-22 21:20:29 +0000
commitc2c85dbb5cdc66a7503f58d2545c457968a0c10e (patch)
tree51d5f0923dd692855eb8735cf9ca9e4b81bf38bc /paludis/repositories/e/ebuild/exheres-0/builtin_initmisc.bash
parentdff81f47d93e2611267a60d177fbcbca9dc33092 (diff)
downloadpaludis-c2c85dbb5cdc66a7503f58d2545c457968a0c10e.tar.gz
paludis-c2c85dbb5cdc66a7503f58d2545c457968a0c10e.tar.xz
Probably break everything
Diffstat (limited to 'paludis/repositories/e/ebuild/exheres-0/builtin_initmisc.bash')
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/builtin_initmisc.bash17
1 files changed, 8 insertions, 9 deletions
diff --git a/paludis/repositories/e/ebuild/exheres-0/builtin_initmisc.bash b/paludis/repositories/e/ebuild/exheres-0/builtin_initmisc.bash
index 17ba0e117..23d1dbc1b 100644
--- a/paludis/repositories/e/ebuild/exheres-0/builtin_initmisc.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/builtin_initmisc.bash
@@ -19,11 +19,6 @@
builtin_initmisc()
{
local a
- for a in PALUDIS_NON_EMPTY_VARIABLES ${PALUDIS_NON_EMPTY_VARIABLES} ; do
- [[ "${a#build:}" != "${a}" ]] && continue
- [[ -z "${!a}" ]] && die "\$${a} unset or empty"
- declare -r ${a}="${!a}"
- done
for a in ${PALUDIS_DIRECTORY_VARIABLES} ; do
[[ "${a#build:}" != "${a}" ]] && continue
@@ -61,13 +56,17 @@ builtin_initmisc()
export TEMP="${PALUDIS_PACKAGE_BUILDDIR}/temp/"
mkdir -p "${TEMP}" || die "Couldn't create \$TEMP (\"${TEMP}\")"
- declare -r TEMP="${TEMP}"
export HOME="${TEMP}"
export TMPDIR="${TEMP}"
- if [[ "${EBUILD}" != "-" ]] ; then
- ebuild_load_ebuild "${EBUILD}"
- fi
+ ebuild_load_em_up_dan
+ declare -r TEMP="${TEMP}"
+
+ for a in PALUDIS_NON_EMPTY_VARIABLES ${PALUDIS_NON_EMPTY_VARIABLES} ; do
+ [[ "${a#build:}" != "${a}" ]] && continue
+ [[ -z "${!a}" ]] && die "\$${a} unset or empty"
+ declare -r ${a}="${!a}"
+ done
}
exheres_internal_initmisc()