From 3a592dac6df7ec3891ea84a1aac692466e4bb677 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 24 Jun 2021 03:49:26 +0000 Subject: [PATCH] dpkg: Use defaults if DEBEMAIL or DEBFULLNAME have not been set (trunk r9332) git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.5.x@9455 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- Makefile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index ced860c1a..8d9d35603 100644 --- a/Makefile +++ b/Makefile @@ -357,14 +357,8 @@ debian/changelog: debian/changelog.in mv "scst-$(VERSION).tar.xz" "$@" dpkg: ../scst_$(VERSION).orig.tar.gz - @if [ -z "$$DEBEMAIL" ]; then \ - echo "Error: \$$DEBEMAIL has not been set"; \ - false; \ - fi && \ - if [ -z "$$DEBFULLNAME" ]; then \ - echo "Error: \$$DEBFULLNAME has not been set"; \ - false; \ - fi && \ + @[ -z "$$DEBEMAIL" ] || export DEBEMAIL=bvanassche@acm.org && \ + [ -z "$$DEBFULLNAME" ] || export DEBFULLNAME="Bart Van Assche" &&\ sed 's/%{scst_version}/$(VERSION)/' \ debian/scst.dkms && \ output_files=( \