1
0
mirror of synced 2026-01-19 17:18:39 +00:00

Fix VCS detection in Makefile

This commit is contained in:
Axel Beckert 2010-05-15 00:11:23 +02:00
parent b9d1fa2e72
commit 27956bef61

View File

@ -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.