fix absolute path on windows

append-path ignores the first argument if the second is an absolute path, breaks the vocab on windows
travis-windows
Craig Allen 2018-10-22 15:47:12 +01:00 committed by John Benediktsson
parent f3d1d785cd
commit 9804c3c744
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ IN: etc-hosts
HOOK: hosts-path os ( -- 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" ;