Skip to content

Commit

Permalink
Use native system path delimiter
Browse files Browse the repository at this point in the history
Fixes broken paths on Windows spliting on `:`, breaking the leading drive
letter.
  • Loading branch information
codyopel committed Oct 11, 2022
1 parent a3e30fb commit 530bce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kratos.elv
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ fn cache-remove {|cache|
fn init-dirs {
var initDirs = [ ]
try {
for i [ (str:split ':' (env:get 'KRATOS_INIT_DIRS')) ] {
for i [ (str:split $env:DELIMITER (env:get 'KRATOS_INIT_DIRS')) ] {
set initDirs = [ $@initDirs $i ]
}
} catch _ {
Expand Down

0 comments on commit 530bce8

Please sign in to comment.