Opened on 08/28/22 at 22:34:28
Closed on 11/09/22 at 23:32:16
#4711 closed defect (fixed)
RSB does not expand dir type macros correctly (cloned)
Reported by: | Chris Johns | Owned by: | Chris Johns |
---|---|---|---|
Priority: | normal | Milestone: | 5.2 |
Component: | tool/rsb | Version: | 5 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
Cloned from #4710:
The expansion of the dir
type macros is not done correctly. Macro replacement only appends the file part to the last element of a path list. For example:
%{mydir}/abc.cfg
with a path of:
%define mydir x:y:z
results in:
x:y:z/abc.cfg
The config load code handles this but it is wrong. The expansion of dir
type macro variables should handle path separators (:
) so you get:
x/abc.cfg:y/abc.cfg:z.abc.cfg
This has not been a problem in the RSB because the _configdir
has only had two elements and the last one only ever had subdirectories.
Change History (1)
comment:1 Changed on 11/09/22 at 23:32:16 by Chris Johns
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Fixed with backports from
main
for deployment.