diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-06-17 14:15:30 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-06-17 14:38:00 (EDT) |
commit | 4351e99efdc4e66b441e001b91c5b942c706331b (patch) | |
tree | 9e7fdfdf4934c3d525f556064116566da018e8e2 /lib/metadata.sh | |
parent | e90bfa447904d9621782213ef87bd8592ec026fa (diff) |
ob_get_system_path(): Allow overriding DATADIR
Diffstat (limited to 'lib/metadata.sh')
-rw-r--r-- | lib/metadata.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/metadata.sh b/lib/metadata.sh index 0597841..da3ff60 100644 --- a/lib/metadata.sh +++ b/lib/metadata.sh @@ -315,7 +315,10 @@ ob_plat_is_concerned() ## \fIversion\fP. For \fBbuildflags\fP the argument is \fI arch\fP. ## For \fBplatconf\fP they can be either only \fIplat\fP or all of ## \fIsource\fP, \fIversion\fP, and \fIplat\fP; the latter form is -## deprecated. +## deprecated. For \fBbuildflags\fP and \fBplatconf\fP, the system +## path will be under the value of the \fIOB_TEST_DATADIR\fP +## environment variable, if set and not null; this is intended for use +## in testing programs that call this function. ## @operand path_id req One of \fBpackage-source\fP, \fBpackage-docs\fP, ## \fBbuildflags\fP, or \fBplatconf\fP. ## @operand args req Additional arguments specific to each \fIpath_id\fP. |