Skip to content

Commit aa4c060

Browse files
committed
FIX: make sure that home directory is absolute on all platforms
1 parent 3c25db2 commit aa4c060

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/mezz/mezz-banner.r

+6-1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ make-banner: func [
4242
str
4343
]
4444

45+
if #"/" <> first system/options/home [
46+
;make sure that home directory is absolute on all platforms
47+
system/options/home: clean-path join what-dir system/options/home
48+
]
49+
4550
sys/boot-banner: make-banner [
4651
*
4752
-
@@ -59,7 +64,7 @@ sys/boot-banner: make-banner [
5964
-
6065
= Language: system/locale/language*
6166
= Locale: system/locale/locale*
62-
= Home: [to-local-file clean-path join what-dir system/options/home]
67+
= Home: [to-local-file system/options/home]
6368
-
6469
*
6570
]

0 commit comments

Comments
 (0)