printf '%s@gentoo.org ' ${ret//\~}
echo
}
+stable_arch_emails() {
+ arch_emails "$@" | sed -r -e 's:([^ ]*-[^ ]*|mips)@[^ ]*::g'
+}
eget_maintainer() {
local f=${1:-metadata.xml}
local maintainer=$(xml sel -t -v pkgmetadata/herd $f)
local cat=$(basename $(dirname $(pwd)))
local pkg=${1%.ebuild}
local ebuild=${pkg}.ebuild
- local cc=$(arch_emails ${ebuild} | sed -r -e 's:([^ ]*-[^ ]*|mips)@[^ ]*::g')
+ local cc=$(stable_arch_emails ${ebuild})
if [[ -z ${cc} ]] ; then
echo "Unable to read ebuild '${ebuild}'"
return 1
}
erstable() { _erit stable "$@" ; }
erlove() { _erit love "$@" ; }
+
+export PORTAGE_INST_UID=${UID}
+export PORTAGE_INST_GID=`id -g`