aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-07-09 14:20:55 +0100
committergingerBill <bill@gingerbill.org>2024-07-09 14:20:55 +0100
commit952fb998e6fca880aa579754da5969295ccd9344 (patch)
tree4837713972aa63dd1302d0cfd10f29430c64d0d0 /src
parent886ee66e7fcabbd09c20fd55d98051e3854dfd76 (diff)
Check for `CURR_DATE_TIME`
Diffstat (limited to 'src')
-rw-r--r--src/cached.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cached.cpp b/src/cached.cpp
index da72e9989..4b6d82d45 100644
--- a/src/cached.cpp
+++ b/src/cached.cpp
@@ -237,6 +237,9 @@ bool try_cached_build(Checker *c, Array<String> const &args) {
String16 wstr = make_string16_c(curr_string);
curr_string += wstr.len+1;
String str = string16_to_string(temporary_allocator(), wstr);
+ if (string_starts_with(str, str_lit("CURR_DATE_TIME="))) {
+ continue;
+ }
array_add(&envs, str);
}
#endif