aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2007-09-25 22:12:57 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2007-09-25 22:12:57 +0000
commit595f41a0fb24fef53292a2cbbaa607d89807cc5a (patch)
treed39a6b90fb574e081ef7059b709e5d3a5e6c9469
parent3726b6e4c6123643ea3c53ffe223943fee4eeb80 (diff)
downloadpaludis-595f41a0fb24fef53292a2cbbaa607d89807cc5a.tar.gz
paludis-595f41a0fb24fef53292a2cbbaa607d89807cc5a.tar.xz
Source configuration bashrc in wget fetcher.
-rwxr-xr-xpaludis/fetchers/dowget.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/paludis/fetchers/dowget.in b/paludis/fetchers/dowget.in
index 41e645a..3537dfb 100755
--- a/paludis/fetchers/dowget.in
+++ b/paludis/fetchers/dowget.in
@@ -19,6 +19,13 @@
export PATH="$(${PALUDIS_EBUILD_DIR}/utils/canonicalise ${PALUDIS_EBUILD_DIR}/utils/ ):${PATH}"
source ${PALUDIS_EBUILD_DIR}/echo_functions.bash
+old_set=$-
+set -a
+for f in ${PALUDIS_BASHRC_FILES}; do
+ [[ -f "${f}" ]] && source "${f}"
+done
+[[ "${old_set}" == *a* ]] || set +a
+
if [[ -n "${PALUDIS_USE_SAFE_RESUME}" ]] ; then
if [[ -f "${2}.-PARTIAL-" ]] ; then