enter_chroot: remove subversion config goo

We do not have any svn based live ebuilds that require credentials which
I presume is the only reason for shuffling svn configs like this.
This commit is contained in:
Michael Marineau 2015-07-05 17:14:53 -07:00
parent db734ea417
commit 611ed7698e

View File

@ -316,21 +316,6 @@ setup_env() {
fi fi
fi fi
if [[ -d "$SUDO_HOME/.subversion" ]]; then
TARGET="/home/${SUDO_USER}/.subversion"
setup_mount "${SUDO_HOME}/.subversion" "--bind" "${TARGET}"
# Symbolic-link the .subversion directory so sandboxed subversion.class
# clients can use it.
for d in \
"${FLAGS_cache_dir}"/distfiles/{host,target}/svn-src/"${SUDO_USER}"; do
if [[ ! -L "${d}/.subversion" ]]; then
rm -rf "${d}/.subversion"
user_mkdir "${d}"
user_symlink /home/${SUDO_USER}/.subversion "${d}/.subversion"
fi
done
fi
# Mount GnuPG's data directory for signing uploads # Mount GnuPG's data directory for signing uploads
if [[ -d "$SUDO_HOME/.gnupg" ]]; then if [[ -d "$SUDO_HOME/.gnupg" ]]; then
debug "Mounting GnuPG" debug "Mounting GnuPG"