Use a more readable timestamp

This commit is contained in:
Jan Alexander Steffens 2019-11-05 19:39:30 +00:00
parent 44420b8b15
commit 0a1031132c
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ sha256sums=('SKIP'
export KBUILD_BUILD_HOST=archlinux
export KBUILD_BUILD_USER=$pkgbase
export KBUILD_BUILD_TIMESTAMP="@${SOURCE_DATE_EPOCH:-$(date +%s)}"
export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})"
prepare() {
cd $_srcname