Skip to content

Commit 1bc5cdb

Browse files
committed
FIX: avoid overwriting sys
1 parent 759609a commit 1bc5cdb

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

make/pre-make.r3

+6-4
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ os: any [
159159
OpenBSD: openbsd
160160
) platform
161161
]
162-
sys: any [
162+
syst: any [
163163
; none, linux, win32, darwin, cuda, etc.
164164
spec/sys
165165
spec/kernel
@@ -199,7 +199,7 @@ unless target [
199199
target: clear ""
200200
if arch [append append target arch #"-"]
201201
if vendor [append append target vendor #"-"]
202-
if sys [append append target sys #"-"]
202+
if syst [append append target syst #"-"]
203203
if abi [append append target abi #"-"]
204204
take/last target
205205
]
@@ -227,7 +227,7 @@ str-version: reform [
227227
os
228228
arch
229229
vendor
230-
sys
230+
syst
231231
abi
232232
any [all [word? spec/compiler spec/compiler]] ; gcc, clang, msvc...
233233
target
@@ -236,9 +236,11 @@ str-version: reform [
236236
get-libc-version ;; musl, glibc_2.28,... or just none
237237
]
238238

239+
;;format-date-time may not be available in older Builder tools!
240+
;;format-date-time now/utc "(yyyy-MM-dd hh:mm:ss UTC)"
239241

240242
short-str-version: next ajoin [{
241-
Rebol/} product SP version SP format-date-time now/utc "(yyyy-MM-dd hh:mm:ss UTC)" {
243+
Rebol/} product SP version " (" build-date { UTC)
242244
Copyright (c) 2012 REBOL Technologies
243245
Copyright (c) 2012-} now/year { Rebol Open Source Contributors
244246
Source: https://github.com/Oldes/Rebol3}]

0 commit comments

Comments
 (0)