Update dates generated in setup scripts

This commit is contained in:
Frank Crawford
2024-06-08 19:01:57 +10:00
parent 043eae2cad
commit 3ef56ee9d3
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ endif
DRIVER := it87
ifneq ("","$(wildcard .git/*)")
DRIVER_VERSION := $(shell git describe --long).$(shell date -d "$(git show -s --format=%ci HEAD)" +%Y%m%d)
DRIVER_VERSION := $(shell git describe --long).$(shell date -u -d "$$(git show -s --format=%ci HEAD)" +%Y%m%d)
else
ifneq ("", "$(wildcard VERSION)")
DRIVER_VERSION := $(shell cat VERSION)

View File

@@ -8,7 +8,7 @@ else
fi
DRV_NAME=$(basename $(pwd))
DRV_VERSION=$(git describe --long).$(date -d "$(git show -s --format=%ci HEAD)" +%Y%m%d)
DRV_VERSION=$(git describe --long).$(date -u -d "$(git show -s --format=%ci HEAD)" +%Y%m%d)
DKMS_DIR=/usr/src/${DRV_NAME}-${DRV_VERSION}
make -f Makefile DRIVER=$DRV_NAME DRIVER_VERSION=$DRV_VERSION DKMS_ROOT_PATH=$DKMS_DIR dkms