fix absolute path on windows
append-path ignores the first argument if the second is an absolute path, breaks the vocab on windowstravis-windows
parent
f3d1d785cd
commit
9804c3c744
|
@ -7,7 +7,7 @@ IN: etc-hosts
|
||||||
HOOK: hosts-path os ( -- path )
|
HOOK: hosts-path os ( -- path )
|
||||||
|
|
||||||
M: windows hosts-path
|
M: windows hosts-path
|
||||||
"SystemRoot" os-env "/System32/drivers/etc/hosts" append-path ;
|
"SystemRoot" os-env "System32/drivers/etc/hosts" append-path ;
|
||||||
|
|
||||||
M: unix hosts-path "/etc/hosts" ;
|
M: unix hosts-path "/etc/hosts" ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue