From 6df650ce548be2d446fbe0b18aef09706feb728b Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Wed, 13 Mar 2019 11:04:39 -0400 Subject: [PATCH] fix compilation for older dpkg-parsechangelog Change-Id: I302015bc025827fb4789b74c32dfee0b8319b730 --- lib/lib.Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/lib.Makefile b/lib/lib.Makefile index 4937809ac..03535169c 100644 --- a/lib/lib.Makefile +++ b/lib/lib.Makefile @@ -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