wrapper

Evan Dandrea evan.dandrea at canonical.com
Fri Jun 17 18:51:04 UTC 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160617/4e7c3375/attachment.html>


More information about the Snapcraft mailing list