]> gitweb.factorcode.org Git - factor.git/commitdiff
vocabs.loader: make vocab-dir+ use path-separator too
authorJoe Groff <arcata@gmail.com>
Wed, 17 Feb 2010 03:29:42 +0000 (19:29 -0800)
committerJoe Groff <arcata@gmail.com>
Wed, 17 Feb 2010 03:29:42 +0000 (19:29 -0800)
core/vocabs/loader/loader.factor

index 0f2e3f71785d2e4985eee48865e69c70540eed53..390cfceb9554a19d09d7ffce28ca437132c4e0f3 100644 (file)
@@ -42,7 +42,7 @@ PRIVATE>
 : vocab-dir+ ( vocab str/f -- path )
     [ vocab-name "." split ] dip
     [ [ dup last ] dip append suffix ] when*
-    "/" join ;
+    path-separator join ;
 
 : find-vocab-root ( vocab -- path/f )
     vocab-name dup root-cache get at