Bug 11367 – Include paths on windows do not recursively expand env vars

Status
RESOLVED
Resolution
WORKSFORME
Severity
minor
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2013-10-27T12:42:00Z
Last change time
2016-12-05T02:10:06Z
Assigned to
nobody
Creator
maidenphil

Comments

Comment #0 by maidenphil — 2013-10-27T12:42:34Z
Environment variable: TOTO = C:\Toto TATA = %TOTO%\tata dmd -I%TATA% ... does not work... import path[0] = %TOTO%\tata (value not expanded) dmd -I%TOTO%\tata ... works
Comment #1 by andrej.mitrovich — 2014-04-26T19:53:00Z
Comment #2 by mk — 2016-12-05T02:10:06Z
Works for me in shell and sc.ini.