Code Review
/
src
/
xds
/
xds-agent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
21b070d
)
Fix subversion setting
author
Sebastien Douheret
<sebastien.douheret@iot.bzh>
Tue, 29 Aug 2017 21:45:00 +0000
(23:45 +0200)
committer
Sebastien Douheret
<sebastien.douheret@iot.bzh>
Tue, 29 Aug 2017 21:45:02 +0000
(23:45 +0200)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
190dd08
..
1d13554
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-15,7
+15,8
@@
ifeq ($(origin SUB_VERSION), undefined)
ifneq ($(SUB_VERSION), )
VERSION := $(firstword $(subst -, ,$(SUB_VERSION)))
SUB_VERSION := $(word 2,$(subst -, ,$(SUB_VERSION)))
- else
+ endif
+ ifeq ($(SUB_VERSION), )
SUB_VERSION := $(shell git rev-parse --short HEAD)
ifeq ($(SUB_VERSION), )
SUB_VERSION := unknown-dev