Didier's suggestion of a wrapper script is a good one and the most
straightforward.

Another option, if you're using a custom plugin in
parts/plugins/x-yourplugin.py, is to use the env() function to add
environment variables. For example:

https://github.com/ubuntu-core/snapcraft/blob/master/snapcraft/plugins/jdk.py#L26
-- 
Snapcraft mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to