summaryrefslogtreecommitdiff
path: root/doc/concepts/expressions.org
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2022-05-06 12:10:20 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2022-05-09 14:55:40 +0200
commit0e22c2c2261683a86619b1d715e497339f98a362 (patch)
tree2be0a8c45f667eb94e85b6c8e43986a550f4c1d4 /doc/concepts/expressions.org
parent5d89525367527b659fe9732c4ed90b4e9c2f3658 (diff)
downloadjustbuild-0e22c2c2261683a86619b1d715e497339f98a362.tar.gz
Built-in "to_subdir": interpret input keys as path
... and detect conflicts araising this way. Also normalize the paths after staging them to the specified subdir.
Diffstat (limited to 'doc/concepts/expressions.org')
-rw-r--r--doc/concepts/expressions.org5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/concepts/expressions.org b/doc/concepts/expressions.org
index c8d2a9a5..50737413 100644
--- a/doc/concepts/expressions.org
+++ b/doc/concepts/expressions.org
@@ -255,7 +255,10 @@ those) argument(s) to obtain the final result.
~"subdir"~ argument and the base name of the old key. It is an
error if conflicts occur in this way; in case of such a user
error, the argument ~"msg"~ is also evaluated and the result
- of that evaluatino reported in the error message.
+ of that evaluation reported in the error message. Note that
+ conflicts can also occur in non-flat staging if two keys are
+ different as strings, but name the same path (like ~"foo.txt"~
+ and ~"./foo.txt"~), and are assigned different values.
***** Binary functions