[SERVER-41969] Allow relative paths for SCons directory variables such as $PREFIX and $DEST_DIR Created: 27/Jun/19  Updated: 04/May/20  Resolved: 24/Apr/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Mathew Robinson (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-45785 PREFIX, PREFIX_*DIR, and DESTDIR shou... Closed
Sprint: Dev Platform 2020-03-09, Dev Platform 2020-04-20, Dev Platform 2020-05-04
Participants:

 Description   

If you use a relative path currently it gets resolved incorrectly.



 Comments   
Comment by Andrew Morrow (Inactive) [ 24/Apr/20 ]

I believe this will be fixed by the linked ticket, closing as a duplicate.

Comment by Mathew Robinson (Inactive) [ 13/Jan/20 ]

acm I believe this is as simple as storing these variables as Dir nodes. The Dir class expands all paths correctly and Subst will expand Dir objects correctly. The problem we have today is that Subst when it sees these values as strings does not treat them as paths.

Generated at Thu Feb 08 04:59:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.