diff --git a/basis/bootstrap/image/image.factor b/basis/bootstrap/image/image.factor index 9284728a7a..f3f570b462 100755 --- a/basis/bootstrap/image/image.factor +++ b/basis/bootstrap/image/image.factor @@ -26,7 +26,6 @@ IN: bootstrap.image "x86.32" "x86.64" "linux-ppc" "macosx-ppc" - ! "arm" } ; assoc + { + class<=-cache class-not-cache classes-intersect-cache + class-and-cache class-or-cache + } [ H{ } clone ] H{ } map>assoc assoc-union bootstrap-global set bootstrap-global emit-userenv ; diff --git a/core/io/files/files.factor b/core/io/files/files.factor index e52799d10a..58a08ed30c 100755 --- a/core/io/files/files.factor +++ b/core/io/files/files.factor @@ -192,11 +192,13 @@ PRIVATE> SYMBOL: current-directory -[ cwd current-directory set-global ] "io.files" add-init-hook +[ + cwd current-directory set-global + image parent-directory cwd prepend-path "resource-path" set +] "io.files" add-init-hook : resource-path ( path -- newpath ) - "resource-path" get [ image parent-directory ] unless* - prepend-path ; + "resource-path" get prepend-path ; : (normalize-path) ( path -- path' ) "resource:" ?head [