Simplify SHA generation

This commit is contained in:
Christopher Jones 2017-12-12 10:05:57 +11:00
parent 1ce148dae9
commit a941a41ab6
1 changed files with 2 additions and 2 deletions

View File

@ -26,8 +26,8 @@ GIT=git
NODE=node
NPM=npm
GITSHA=$(shell $(GIT) rev-parse HEAD)
SUBMOD=$(shell $(CD) ../odpi && $(GIT) rev-parse HEAD)
GITSHA=$(shell $(GIT) --git-dir=../.git rev-parse --verify HEAD)
SUBMOD=$(shell $(GIT) --git-dir=../odpi/.git rev-parse --verify HEAD)
NODEVER=$(shell $(NODE) --version)
BUILDDATE=$(shell $(DATE))