fix compilation for older dpkg-parsechangelog

Change-Id: I302015bc025827fb4789b74c32dfee0b8319b730
pull/734/head
Richard Fuchs 7 years ago
parent d279789e23
commit 6df650ce54

@ -10,7 +10,8 @@ HAVE_DPKG_PARSECHANGELOG?=$(shell which dpkg-parsechangelog 2>/dev/null)
ifeq ($(RELEASE_DATE),)
ifneq ($(HAVE_DPKG_PARSECHANGELOG),)
RELEASE_DATE=$(shell date -d "@$$(dpkg-parsechangelog -l$(RTPENGINE_ROOT_DIR)/debian/changelog -STimestamp)" '+%F')
else
endif
ifeq ($(RELEASE_DATE),)
RELEASE_DATE=undefined
endif
endif

Loading…
Cancel
Save