Commit e4545b8
committed
support customizing install directory with $DPATH
This introduces the $DPATH environment variable to override the user's home directory just for D tools.
This is also intended to be used by DUB (dlang/dub#2281) when there is not the more explicit `$DUB_HOME` variable set on the system.
This allows users who install their D compiler through the install.sh script to both have the compiler installations as well as the dub packages be stored elsewhere in the system than in their home folder.
In case we have other tools that download their dependencies into the user's home directory, we should also make them support the same $DPATH environment variable.1 parent 194c9c8 commit e4545b8
1 file changed
+13
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
180 | 184 | | |
181 | | - | |
182 | | - | |
183 | | - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
184 | 193 | | |
185 | | - | |
186 | 194 | | |
187 | 195 | | |
188 | 196 | | |
| |||
0 commit comments