aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.gen1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.gen b/Makefile.gen
index 2fdf23f..f18c57a 100644
--- a/Makefile.gen
+++ b/Makefile.gen
@@ -23,6 +23,7 @@ export DRIVER_NAME=$(shell cat ../VERSION | sed -e "s/-/./g" | awk -F . '{ print
else
ifneq (,$(wildcard ../.git))
RELEASE=git-$(shell git rev-parse --short=16 HEAD)
+export DRIVER_NAME=git-$(shell git rev-parse --short=12 HEAD)
else
ifneq (,$(shell cat ../VERSION))
RELEASE="$(USER)@$(HOSTNAME) release $(shell cat ../VERSION)"