Permalink
Browse files

fix absolute path on windows

append-path ignores the first argument if the second is an absolute path, breaks the vocab on windows
  • Loading branch information...
cjallen88 authored and mrjbq7 committed Oct 22, 2018
1 parent f3d1d78 commit 9804c3c7440b6fb9d308d76a81ee55d92b327788
Showing with 1 addition and 1 deletion.
  1. +1 −1 extra/etc-hosts/etc-hosts.factor
@@ -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" ;

0 comments on commit 9804c3c

Please sign in to comment.