Commit eb0b4174 authored by Chris Lamb's avatar Chris Lamb 👀
Browse files

Ensure that our version check works with binNMUs. (Closes: #935697)

parent 1fa6caba
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ include /usr/share/dpkg/default.mk

CFLAGS += -DSHADOW_PWD

ifeq (,$(findstring ^$(DEB_VERSION_UPSTREAM),^$(shell cut -d'"' -f2 patchlevel.h)))
ifeq (,$(findstring ^$(firstword $(subst +, ,$(DEB_VERSION_UPSTREAM))),^$(shell cut -d'"' -f2 patchlevel.h)))
$(error (patchlevel.h out of sync with Debian version))
endif