-
I am using just to wrap a legacy build system, which is based on Makefiles. The current workflow is heavily reliant on developers sourcing configuration scripts (ex: Yocto) before running make. This is unpractical for at least two reasons: Configuration scripts tend to interfere with each other in confusing ways Right now, I am trying to override the PATH from the .env file to expose basic utility tools (starting with make...) to every one. But my modifications are ignored because PATH is already defined in the environment. Would the feature discussed in #642 help in my use case? Could you suggest another approach? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If your recipe is run as a shebang script you can example:
#!/usr/bin/env bash
source .env
# Do Stuff |
Beta Was this translation helpful? Give feedback.
If your recipe is run as a shebang script you can
source
the.env
file which should take precedence in the rest of the recipe.