This command:
echo '18' | source meta-cmf-raspberrypi/setup-environment
Not set the environment variables as instead happened with a simply:
source meta-cmf-raspberrypi/setup-environment
With "18" in input.
The question at link: Environment variables are not set when my function is called in a pipeline
Not solve my problem because i have try:
echo '18' > >(source meta-cmf-raspberrypi/setup-environment)
Without success. How do I solve the problem?