Created attachment 329012 [details, diff] patch against # $Id: ecopy 59314 2011-02-16 03:45:16Z darkside $ I noticed that ecopy sources make.defaults from /etc/make.profile, thus ignoring the new default location in /etc/portage for recent installs: $ ~/gprefix/usr/portage/scripts/ecopy dev-python/gnome-keyring-python (snip) Processing gnome-keyring-python-2.32.0.ebuild replacing ${D} -> ${ED} ... not found replacing ${ROOT} -> ${EROOT} ... not found Processing gnome-keyring-python-2.32.0.ebuild ... /user/cnicolas/home/gprefix/usr/portage/scripts/ecopy: line 134: /home/cnicolas/gprefix/etc/make.profile/make.defaults: No such file or directory (snip) I made a small patch, sourcing first the new make.defaults location, is missing, fallback on the old location. I don't know what behavior is expected if no profile is set. I just put an einfo. Please improve :) I also didn't put the quotes inside [[ ]], as they are useless IIRC. Please add them if I were wrong.
I think there is no reason to use ecopy any more these days. We have the full tree now, so you just have to "fix" the ebuilds.
Okay, thanks for the info. I'm new to prefix, and the docs are quite old. So maybe one should add some ewarn at the beginning of ecopy to tell the user that ecopy is deprecated?
yeah, or just remove it/remove it from the docs
documentation pointers removed. ecopy removed from scripts