fi
fi
-find "${D}${infodir}" -type d -print0 | while read -d $'\0' x ; do
+find "${ED}${infodir}" -type d -print0 | while read -d $'\0' x ; do
+ for f in "${x}"/.keepinfodir*; do
+ [[ -e ${f} ]] && continue 2
+ done
rm -f "${x}"/dir{,.info}{,.gz,.bz2}
done
CONFIG_MEMORY_FILE = PRIVATE_PATH + "/config"
NEWS_LIB_PATH = "var/lib/gentoo"
- # these variables are not used with target_root or config_root
+ # these variables get EPREFIX prepended automagically when they are
+ # translated into their lowercase variants
DEPCACHE_PATH = "/var/cache/edb/dep"
GLOBAL_CONFIG_PATH = "/usr/share/portage/config"
-PORTAGE_BASE_PATH = os.path.join(os.sep, os.sep.join(__file__.split(os.sep)[:-3]))
+
+ # these variables are not used with target_root or config_root
+PORTAGE_BASE_PATH = PORTAGE_BASE
PORTAGE_BIN_PATH = PORTAGE_BASE_PATH + "/bin"
PORTAGE_PYM_PATH = PORTAGE_BASE_PATH + "/pym"
LOCALE_DATA_PATH = PORTAGE_BASE_PATH + "/locale" # FIXME: not used