summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-05-15 03:10:25 +0100
committerLeah Rowe <leah@libreboot.org>2024-05-15 03:10:43 +0100
commit5c3fb9a4f887b8fb767f40cb12fcc097ac12d110 (patch)
tree7f2b3f4deefcb88d6aa96c3e803262668d347998
parente281966f2278802d3d59e386a1e5456e0e8b368d (diff)
build: use utc+0 when initialising git repo dates
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/build b/build
index 027360a8..708e89ae 100755
--- a/build
+++ b/build
@@ -78,7 +78,7 @@ git_init()
{
[ -L ".git" ] && $err "Reference .git is a symlink"
[ -e ".git" ] && return 0
- eval "$(setvars "$(date -Rd @${versiondate})" cdate _nogit)"
+ eval "$(setvars "$(date -Rud @${versiondate})" cdate _nogit)"
git init || $err "${PWD}: cannot initialise Git repository"
git add -A . || $err "${PWD}: cannot add files to Git repository"