Skip to content

Commit

Permalink
fix absolute path on windows
Browse files Browse the repository at this point in the history
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 24, 2018
1 parent f3d1d78 commit 9804c3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extra/etc-hosts/etc-hosts.factor
Expand Up @@ -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" ;

Expand Down

0 comments on commit 9804c3c

Please sign in to comment.