Fix VCS detection in Makefile
This commit is contained in:
parent
b9d1fa2e72
commit
27956bef61
2
Makefile
2
Makefile
@ -17,7 +17,7 @@ DIST_PREFIX = ${TMP}
|
||||
VERSION = 4.2rc1
|
||||
DEBVERSION = $(shell echo $(VERSION)|sed 's/\(rc\|pre\|beta\|alpha\)/~\1/')
|
||||
BASE = xen-tools
|
||||
VCS = $(shell git st > /dev/null && echo git || hg st > /dev/null && echo hg || echo cannot-determine-used-vcs)
|
||||
VCS = $(shell if git st > /dev/null; then echo git; elif hg st > /dev/null; then echo hg; else echo cannot-determine-used-vcs; fi)
|
||||
|
||||
#
|
||||
# Installation prefix, useful for the Debian package.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user