Browse Source

fix compilation for older dpkg-parsechangelog

Change-Id: I302015bc025827fb4789b74c32dfee0b8319b730
pull/734/head
Richard Fuchs 7 years ago
parent
commit
6df650ce54
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      lib/lib.Makefile

+ 2
- 1
lib/lib.Makefile View File

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