On 11/4/19 10:35 AM, Joakim Tjernlund wrote:
> I have a profile.bashrc in my profile where I try to set INSTALL_MASK:
> 
> cat profile.bashrc 
> INSTALL_MASK="${INSTALL_MASK} $(. $(dirname "$*")/etc_file_list)"
> export INSTALL_MASK
> echo "profile INSTALL_MASK: ${INSTALL_MASK}"
> 
> PKG_INSTALL_MASK="${PKG_INSTALL_MASK} ${INSTALL_MASK}"
> export PKG_INSTALL_MASK
> echo "profile PKG_INSTALL_MASK: ${PKG_INSTALL_MASK}"
> 
> Using portageq envvar INSTALL_MASK I expect to see my settings but
> INSTALL_MASK is empty.
> 
> Am I missing something ?
> 
>    Jocke
> 

The bashrc files are only executed during ebuild phases. The portageq
envvar command only returns settings from make.defaults and make.conf
files which are parsed by python and never executed by bash.
-- 
Thanks,
Zac

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to