<title>Retrieve directory list from environment variables</title>
<updated>2018-12-13T13:12:02+00:00</updated>
<author>
<name>Romain Forlot</name>
<email>romain.forlot@iot.bzh</email>
...</author>
<published>2018-07-12T16:18:43+00:00</published>
<link rel="alternate" type="text/html" href="http://git.automotivelinux.org/src/libafb-helpers/commit/?id=8e336b0822974695493a45445ec16908bd0c19c8"/>
<id>urn:sha1:8e336b0822974695493a45445ec16908bd0c19c8</id>
<content type="text">
This adds a function able to retrieve from a prefix and suffix
an environment variable. This is meant to search config or plugin
files from potentially several sources, environment and source code.
This tries to get 2 environments variables:
- prefix+binderName+suffix (eg: AFT_LOWCAN_CONFIG_PATH)
- prefix+suffix (eg: AFT_CONFIG_PATH)
Then it returns the one found or both if they exist with the
most accurate one (with the binder name) first followed by the
other.
Change-Id: Ic448ff017e6158bec05895d63688b8968b5c6434
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
</content>